diff --git a/docs/api/math/Matrix3.html b/docs/api/math/Matrix3.html index dd7d364c74b208ed3adab04b4a92470eb7fb3158..4625ec4cd34319ed827e2f3a6a476debe3d7c5eb 100644 --- a/docs/api/math/Matrix3.html +++ b/docs/api/math/Matrix3.html @@ -39,7 +39,7 @@ m.elements = [ 11, 21, 31, and internally all calculations are performed using column-major ordering. However, as the actual ordering makes no difference mathematically and most people are used to thinking about matrices in row-major order, the three.js documentation shows matrices in row-major order. Just bear in mind that if you are reading the source - code, you'll have to take the transpose of any matrices outlined here to make sense of the calculations. + code, you'll have to take the [link:https://en.wikipedia.org/wiki/Transpose transpose] of any matrices outlined here to make sense of the calculations.
-var m = new Matrix4();
-
-
+var m = new Matrix4();
+
m.set( 11, 12, 13, 14,
21, 22, 23, 24,
- 31, 32, 33, 34 );
+ 31, 32, 33, 34,
+ 41, 42, 43, 44 );
will result in the [page:.elements elements] array containing:
m.elements = [ 11, 21, 31, 41,
12, 22, 32, 42,
- 13, 23, 33, 43 ];
+ 13, 23, 33, 43,
+ 14, 24, 34, 44 ];
and internally all calculations are performed using column-major ordering. However, as the actual ordering
makes no difference mathematically and most people are used to thinking about matrices in row-major order,
the three.js documentation shows matrices in row-major order. Just bear in mind that if you are reading the source
- code, you'll have to take the transpose of any matrices outlined here to make sense of the calculations.
+ code, you'll have to take the [link: https://en.wikipedia.org/wiki/Transpose transpose] of any matrices outlined here to make sense of the calculations.