Camera#contains javadoc updated

master
kkolyan 5 years ago committed by Stephen Gold
parent d29d8f5100
commit eb7aab9704
  1. 8
      jme3-core/src/main/java/com/jme3/renderer/Camera.java

@ -1006,13 +1006,13 @@ public class Camera implements Savable, Cloneable {
* on the negative side of the plane is can be culled out. * on the negative side of the plane is can be culled out.
* *
* NOTE: This method is used internally for culling, for public usage, * NOTE: This method is used internally for culling, for public usage,
* the plane state of the bounding volume must be saved and restored, e.g: * the plane state of the camera must be saved and restored, e.g:
* <code>BoundingVolume bv;<br> * <code>BoundingVolume bv;<br>
* Camera c;<br> * Camera c;<br>
* int planeState = bv.getPlaneState();<br> * int planeState = c.getPlaneState();<br>
* bv.setPlaneState(0);<br> * c.setPlaneState(0);<br>
* c.contains(bv);<br> * c.contains(bv);<br>
* bv.setPlaneState(plateState);<br> * c.setPlaneState(plateState);<br>
* </code> * </code>
* *
* @param bound the bound to check for culling * @param bound the bound to check for culling

Loading…
Cancel
Save