From 6bb9b58b09aee7fc543c03844ce51b62c838dadd Mon Sep 17 00:00:00 2001
From: Ferenc Arn
Date: Thu, 23 Mar 2017 12:27:00 -0500
Subject: Explicitly documented that Transform.basis is not necessarily an
orthogonal matrix.
Also added a check that in axis-angle rotations, axis is a normalized vector, and modified the docs accordingly.
Fixes #8113.
---
doc/base/classes.xml | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
(limited to 'doc/base/classes.xml')
diff --git a/doc/base/classes.xml b/doc/base/classes.xml
index 0b6e2d99e..9a87c08fc 100644
--- a/doc/base/classes.xml
+++ b/doc/base/classes.xml
@@ -20704,7 +20704,7 @@
3x3 matrix datatype.
- 3x3 matrix used for 3D rotation and scale. Contains 3 vector fields x,y and z as its columns, which can be interpreted as the local basis vectors of a transformation. Can also be accessed as array of 3D vectors. Almost always used as orthogonal basis for a [Transform].
+ 3x3 matrix used for 3D rotation and scale. Contains 3 vector fields x,y and z as its columns, which can be interpreted as the local basis vectors of a transformation. Can also be accessed as array of 3D vectors. These vectors are orthogonal to each other, but are not necessarily normalized. Almost always used as orthogonal basis for a [Transform].
For such use, it is composed of a scaling and a rotation matrix, in that order (M = R.S).
@@ -20725,7 +20725,7 @@
- Create a rotation matrix which rotates around the given axis by the specified angle.
+ Create a rotation matrix which rotates around the given axis by the specified angle. The axis must be a normalized vector.
@@ -20792,7 +20792,7 @@
- Introduce an additional rotation around the given axis by phi. Only relevant when the matrix is being used as a part of [Transform].
+ Introduce an additional rotation around the given axis by phi. Only relevant when the matrix is being used as a part of [Transform]. The axis must be a normalized vector.
@@ -31548,7 +31548,7 @@
- Returns a quaternion that will rotate around the given axis by the specified angle.
+ Returns a quaternion that will rotate around the given axis by the specified angle. The axis must be a normalized vector.
@@ -43200,7 +43200,7 @@
- Rotate the transform around given axis by phi.
+ Rotate the transform around given axis by phi. The axis must be a normalized vector.
@@ -45402,7 +45402,7 @@ do_property].
- Rotates the vector around some axis by phi radians.
+ Rotates the vector around some axis by phi radians. The axis must be a normalized vector.
--
cgit v1.2.3-70-g09d2