2
0
Эх сурвалжийг харах

Merge pull request #5145 from timstutts/patch-1

Changed it so .makeRotationFromEuler accepts Euler
Mr.doob 11 жил өмнө
parent
commit
000d757094

+ 2 - 3
docs/api/math/Matrix4.html

@@ -129,10 +129,9 @@
 		Based on [link:http://www.euclideanspace.com/maths/algebra/matrix/functions/inverse/fourD/index.htm].
 		Based on [link:http://www.euclideanspace.com/maths/algebra/matrix/functions/inverse/fourD/index.htm].
 		</div>
 		</div>
 
 
-		<h3>.makeRotationFromEuler( [page:Vector3 v], [page:String order] ) [page:Matrix4 this]</h3>
+		<h3>.makeRotationFromEuler( [page:Euler euler] ) [page:Matrix4 this]</h3>
 		<div>
 		<div>
-		v — Rotation vector.
-		order — The order of rotations. Eg. "XYZ".
+		euler — Rotation vector followed by order of rotations. Eg. "XYZ".
 		</div>
 		</div>
 		<div>
 		<div>
 		Sets the rotation submatrix of this matrix to the rotation specified by Euler angles, the rest of the matrix is identity.<br />
 		Sets the rotation submatrix of this matrix to the rotation specified by Euler angles, the rest of the matrix is identity.<br />