RefractionExtinction.cpp   RefractionExtinction.cpp 
skipping to change at line 91 skipping to change at line 91
{ {
updatePrecomputed(); updatePrecomputed();
} }
void Refraction::setPreTransfoMat(const Mat4d& m) void Refraction::setPreTransfoMat(const Mat4d& m)
{ {
preTransfoMat=m; preTransfoMat=m;
invertPreTransfoMat=m.inverse(); invertPreTransfoMat=m.inverse();
preTransfoMatf.set(m[0], m[1], m[2], m[3], m[4], m[5], m[6], m[7], m [8], m[9], m[10], m[11], m[12], m[13], m[14], m[15]); preTransfoMatf.set(m[0], m[1], m[2], m[3], m[4], m[5], m[6], m[7], m [8], m[9], m[10], m[11], m[12], m[13], m[14], m[15]);
invertPreTransfoMatf.set(invertPreTransfoMat[0], invertPreTransfoMat [1], invertPreTransfoMat[2], invertPreTransfoMat[3], invertPreTransfoMatf.set(invertPreTransfoMat[0], invertPreTransfoMat [1], invertPreTransfoMat[2], invertPreTransfoMat[3],
invertPreTransfoMat invertPreTransfoMat[4], invertPreTransfoMat
[4], invertPreTransfoMat[5], invertPreTransfoMat[6], invertPreTransfoMat[7] [5], invertPreTransfoMat[6], invertPreTransfoMat[7],
, invertPreTransfoMat[8], invertPreTransfoMat
invertPreTransfoMat [9], invertPreTransfoMat[10], invertPreTransfoMat[11],
[8], invertPreTransfoMat[9], invertPreTransfoMat[10], invertPreTransfoMat[1 invertPreTransfoMat[12], invertPreTransfoMa
1], t[13], invertPreTransfoMat[14], invertPreTransfoMat[15]);
invertPreTransfoMat
[12], invertPreTransfoMat[13], invertPreTransfoMat[14], invertPreTransfoMat
[15]);
} }
void Refraction::setPostTransfoMat(const Mat4d& m) void Refraction::setPostTransfoMat(const Mat4d& m)
{ {
postTransfoMat=m; postTransfoMat=m;
invertPostTransfoMat=m.inverse(); invertPostTransfoMat=m.inverse();
postTransfoMatf.set(m[0], m[1], m[2], m[3], m[4], m[5], m[6], m[7], m[8], m[9], m[10], m[11], m[12], m[13], m[14], m[15]); postTransfoMatf.set(m[0], m[1], m[2], m[3], m[4], m[5], m[6], m[7], m[8], m[9], m[10], m[11], m[12], m[13], m[14], m[15]);
invertPostTransfoMatf.set(invertPostTransfoMat[0], invertPostTransfo Mat[1], invertPostTransfoMat[2], invertPostTransfoMat[3], invertPostTransfoMatf.set(invertPostTransfoMat[0], invertPostTransfo Mat[1], invertPostTransfoMat[2], invertPostTransfoMat[3],
invertPostTransfoMa invertPostTransfoMat[4], invertPostTransfo
t[4], invertPostTransfoMat[5], invertPostTransfoMat[6], invertPostTransfoMa Mat[5], invertPostTransfoMat[6], invertPostTransfoMat[7],
t[7], invertPostTransfoMat[8], invertPostTransfo
invertPostTransfoMa Mat[9], invertPostTransfoMat[10], invertPostTransfoMat[11],
t[8], invertPostTransfoMat[9], invertPostTransfoMat[10], invertPostTransfoM invertPostTransfoMat[12], invertPostTransf
at[11], oMat[13], invertPostTransfoMat[14], invertPostTransfoMat[15]);
invertPostTransfoMa
t[12], invertPostTransfoMat[13], invertPostTransfoMat[14], invertPostTransf
oMat[15]);
} }
void Refraction::updatePrecomputed() void Refraction::updatePrecomputed()
{ {
press_temp_corr=pressure/1010.f * 283.f/(273.f+temperature) / 60.f; press_temp_corr=pressure/1010.f * 283.f/(273.f+temperature) / 60.f;
} }
void Refraction::innerRefractionForward(Vec3d& altAzPos) const void Refraction::innerRefractionForward(Vec3d& altAzPos) const
{ {
const double length = altAzPos.length(); const double length = altAzPos.length();
 End of changes. 2 change blocks. 
18 lines changed or deleted 12 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/