** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: projections.cpp,v 1.52 2001/03/02 05:10:22 kevin Exp $
+** $Id: projections.cpp,v 1.53 2001/03/02 20:07:10 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
m_detInc = convertDegreesToRadians (3.06976 / 60);
m_detStart = -m_dFanBeamAngle / 2;
m_rotInc = TWOPI / static_cast<double>(iNViews);
- m_rotStart = 0;
+ m_rotStart = HALFPI;
m_dViewDiameter = sin (m_dFanBeamAngle / 2) * m_dFocalLength * 2;
if (iNDets != 1024)
#ifndef WORDS_BIGENDIAN
SwapBytes4 (pFloat);
#endif
- double dAlpha = *pFloat;
+ double dAlpha = *pFloat + HALFPI;
pFloat = reinterpret_cast<float*>(pData + lDataPos+12);
#ifndef WORDS_BIGENDIAN