소스 검색

small note

Nicolas Cannasse 11 년 전
부모
커밋
08f6373fee
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      h3d/Camera.hx

+ 1 - 0
h3d/Camera.hx

@@ -128,6 +128,7 @@ class Camera {
 	function makeCameraMatrix( m : Matrix ) {
 		// in leftHanded the z axis is positive else it's negative
 		// this way we make sure that our [ax,ay,-az] matrix follow the same handness as our world
+		// We build a transposed version of Matrix.lookAt
 		var az = rightHanded ? pos.sub(target) : target.sub(pos);
 		az.normalize();
 		var ax = up.cross(az);