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.
*
* 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>
* Camera c;<br>
* int planeState = bv.getPlaneState();<br>
* bv.setPlaneState(0);<br>
* int planeState = c.getPlaneState();<br>
* c.setPlaneState(0);<br>
* c.contains(bv);<br>
* bv.setPlaneState(plateState);<br>
* c.setPlaneState(plateState);<br>
* </code>
*
* @param bound the bound to check for culling

Loading…
Cancel
Save