Ignore:
Timestamp:
09/02/19 22:01:13 (5 years ago)
Author:
tbretz
Message:
No need for float
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/msimreflector/MFresnelLens.cc

    r19603 r19604  
    9595};
    9696
    97 float CalcIntersection(const MQuaternion &p, const MQuaternion &u, const Groove &g, const double &fThickness)
     97double CalcIntersection(const MQuaternion &p, const MQuaternion &u, const Groove &g, const double &fThickness)
    9898{
    9999   // p is the position  in the plane  of the lens (px, py, 0,  t)
     
    267267
    268268    // Calculate the insersection between the ray and the cone
    269     float dz = CalcIntersection(p, u, g, -H);
     269    const double dz = CalcIntersection(p, u, g, -H);
    270270
    271271    // No groove was hit
Note: See TracChangeset for help on using the changeset viewer.