Просмотр исходного кода

Filled in missing definition for getScreenCodinates().

mitm 7 лет назад
Родитель
Сommit
cef535ac41
1 измененных файлов с 7 добавлено и 7 удалено
  1. 7 7
      src/docs/asciidoc/jme3/advanced/camera.adoc

+ 7 - 7
src/docs/asciidoc/jme3/advanced/camera.adoc

@@ -1,6 +1,6 @@
 = The jME3 Camera
-:author: 
-:revnumber: 
+:author:
+:revnumber:
 :revdate: 2016/03/17 20:48
 :keywords: camera, documentation
 :relfileprefix: ../../
@@ -20,7 +20,7 @@ The default com.jme3.renderer.Camera object is `cam` in com.jme3.app.Application
 
 The camera object is created with the following defaults:
 
-*  Width and height are set to the current Application's settings.getWidth() and settings.getHeight() values. 
+*  Width and height are set to the current Application's settings.getWidth() and settings.getHeight() values.
 *  Frustum Perspective:
 **  Frame of view angle of 45° along the Y axis
 **  Aspect ratio of width divided by height
@@ -75,8 +75,8 @@ a|Normal perspective
 a|cam.setParallelProjection(true)
 a|Parallel projection perspective
 
-a|cam.getScreenCoordinates()
-a|?
+a|cam.getScreenCoordinates(worldPos)
+a|Converts the given position from world space to screen space.
 
 |===
 
@@ -94,8 +94,8 @@ The `flyCam` class field gives you access to an AppState that extends the defaul
 ----
 
 Q  W             up   forw
-A  S  D    -->  left  back  right 
-Z               down  
+A  S  D    -->  left  back  right
+Z               down
 
 ----
 [cols="2", options="header"]