Package renderer.pipeline
Class NearClip_Point
- java.lang.Object
-
- renderer.pipeline.NearClip_Point
-
public class NearClip_Point extends Object
Clip in camera space anyPointthat crosses the camera's near clipping planez = -near.
-
-
Method Detail
-
clip
public static Optional<Primitive> clip(Model model, Point pt, Camera camera)
If theVertexused by thePointis on the camera side of the near plane, then return an emptyOptionalobject to indicate that thePointshould be discarded from the model'sPrimitivelist.If the
Vertexused by thePointis on the far side of the near plane, then return thePointwrapped in anOptionalobject.
-
-