예제 #1
0
 public Intersection()
 {
     DidIntersect      = false;
     Position          = 0;
     Normal            = new Vector3();
     IntersectedObject = null;
 }
예제 #2
0
 public Intersection(bool didIntersect, double position, Vector3 normal, SceneObjects.SceneObject intersectedObject)
 {
     DidIntersect      = didIntersect;
     Position          = position;
     Normal            = normal;
     IntersectedObject = intersectedObject;
 }