Преглед изворни кода

Add commentary on Camera up vector.

clementlandrin пре 10 месеци
родитељ
комит
d9ec1309ef
1 измењених фајлова са 5 додато и 0 уклоњено
  1. 5 0
      h3d/Camera.hx

+ 5 - 0
h3d/Camera.hx

@@ -33,6 +33,11 @@ class Camera {
 	public var m : Matrix;
 
 	public var pos : Vector;
+	/**
+		up is used for the lookAt matrix.
+		it is not the actual up axis of the camera.
+		use getUp instead.
+	**/
 	public var up : Vector;
 	public var target : Vector;