Ignore:
Timestamp:
09/02/19 22:10:57 (5 years ago)
Author:
tbretz
Message:
Minor updates
File:
1 edited

Legend:

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

    r19604 r19605  
    189189
    190190    // u: incoming direction (normalized!)
    191     // n: normal vector of surface
    192     // n2: refractive index of new(?) medium
    193     // n1: refractive index of old(?) medium
     191    // n: normal vector of surface (pointing into direction of change of refractive index)
     192    // n1: refractive index of old medium
     193    // n2: refractive index of new medium
    194194
    195195    // V_refraction = r*V_incedence + (rc - sqrt(1- r^2 (1-c^2)))n
     
    285285    // Normal vector of the surface at the hit point
    286286    // FIXME: Surface roughness?
    287     TVector3 norm;
     287    TVector3 norm;;
    288288    norm.SetMagThetaPhi(1, g.fTheta-TMath::Pi()/2, p.XYvector().Phi());
    289289
Note: See TracChangeset for help on using the changeset viewer.