Beispiel #1
0
 /// <summary> Map ray *from* local frame coordinates into "world" coordinates </summary>
 public Ray3f FromFrame(Ray3f r)
 {
     return(new Ray3f(FromFrameP(r.Origin), FromFrameV(r.Direction)));
 }
Beispiel #2
0
 ///<summary> Map ray *into* local coordinates of Frame </summary>
 public Ray3f ToFrame(Ray3f r)
 {
     return(new Ray3f(ToFrameP(r.Origin), ToFrameV(r.Direction)));
 }