예제 #1
0
 private void DrawTracedRay(Intersection intersection, VectorMath.Ray ray)
 {
     _surface.DrawRay(ray, _camera.Screen, intersection == null ? ray.magnitude * 10 : intersection.Distance, new Vector3(1, 0, 0));
 }