Example #1
0
 public Ray(Vector3f o, Vector3f d)
 {
     origin = o;
     direction = d;
     closestHitDistance = WORLD_MAX;
     closestHitObject = null;
 }
Example #2
0
 public Ray(Vector3f o, Vector3f d)
 {
     origin             = o;
     direction          = d;
     closestHitDistance = WORLD_MAX;
     closestHitObject   = null;
 }