瀏覽代碼

Minor fix in javadoc for Camera.java class

Ali-RS 9 年之前
父節點
當前提交
8937e93cce
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      jme3-core/src/main/java/com/jme3/renderer/Camera.java

+ 1 - 1
jme3-core/src/main/java/com/jme3/renderer/Camera.java

@@ -991,7 +991,7 @@ public class Camera implements Savable, Cloneable {
      * Returns the pseudo distance from the given position to the near
      * plane of the camera. This is used for render queue sorting.
      * @param pos The position to compute a distance to.
-     * @return Distance from the far plane to the point.
+     * @return Distance from the near plane to the point.
      */
     public float distanceToNearPlane(Vector3f pos) {
         return worldPlane[NEAR_PLANE].pseudoDistance(pos);