We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f8d7bc commit 302559fCopy full SHA for 302559f
1 file changed
v3/src/math/Matrix4.js
@@ -1016,8 +1016,6 @@ var Matrix4 = new Class({
1016
1017
yawPitchRoll: function (yaw, pitch, roll)
1018
{
1019
- // return Matrix.RotationZ(roll).multiply(Matrix.RotationX(pitch)).multiply(Matrix.RotationY(yaw));
1020
-
1021
this.zero();
1022
_tempMat1.zero();
1023
_tempMat2.zero();
@@ -1069,8 +1067,8 @@ var Matrix4 = new Class({
1069
1067
1070
1068
this.yawPitchRoll(rotation.y, rotation.x, rotation.z);
1071
1072
- _tempMat1.xyz(position.x, position.y, position.z);
1073
- _tempMat2.scaling(scale.x, scale.y, scale.z);
+ _tempMat1.scaling(scale.x, scale.y, scale.z);
+ _tempMat2.xyz(position.x, position.y, position.z);
1074
1075
this.multiplyLocal(_tempMat1);
1076
this.multiplyLocal(_tempMat2);
0 commit comments