Changeset 19604


Ignore:
Timestamp:
Sep 2, 2019, 10:01:13 PM (2 weeks 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.