Example #1
0
 /// <summary>
 /// Builds a hull from the given view-projection (left, right, top, bottom, near, far).
 /// The normals of the hull planes point to the inside.
 /// A point inside the visual hull will have positive height to all planes.
 /// </summary>
 public static Hull3d GetVisualHull(this IViewProjection vp)
 => vp.ViewProjTrafo().GetVisualHull();
 /// <summary>
 /// Builds a hull from the given view-projection (left, right, top, bottom, near, far).
 /// The normals of the hull planes point to the inside.
 /// A point inside the visual hull will have positive height to all planes.
 /// </summary>
 public static Hull3d GetVisualHull(this IViewProjection vp)
 {
     return(vp.ViewProjTrafo().GetVisualHull());
 }