소스 검색

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;