forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 0
class_matrix3
reduz edited this page Feb 23, 2014
·
11 revisions
3x3 matrix datatype.
- real ** determinant ** ( )
- Vector3 ** get_euler ** ( )
- int ** get_orthogonal_index ** ( )
- Matrix3 ** inverse ** ( )
- Matrix3 ** orthonormalized ** ( )
- Matrix3 ** rotated ** ( Vector3 axis, real phi )
- Matrix3 ** scaled ** ( Vector3 scale )
- real ** tdotx ** ( Vector3 with )
- real ** tdoty ** ( Vector3 with )
- real ** tdotz ** ( Vector3 with )
- Matrix3 ** transposed ** ( )
- Vector3 ** xform ** ( Vector3 v )
- Vector3 ** xform_inv ** ( Vector3 v )
- void ** Matrix3 ** ( Vector3 x_axis, Vector3 y_axis, Vector3 z_axis )
- void ** Matrix3 ** ( Vector3 axis, real phi )
- void ** Matrix3 ** ( Quat from )
3x3 matrix used for 3D rotation and scale. Contains 3 vector fields x,y and z. Can also be accessed as array of 3D vectors. Almost always used as orthogonal basis for a transform.
- real ** determinant ** ( ) \ Return the determinant of the matrix.
- Matrix3 ** orthonormalized ** ( ) \ Return the orthonormalized version of the matrix (useful to call from time to time to avoid rounding error).
- Matrix3 ** rotated ** ( Vector3 axis, real phi ) \ Return the rotated version of the matrix, by a given axis and angle.
- Matrix3 ** transposed ** ( ) \ Return the transposed version of the matrix.
- Vector3 ** xform_inv ** ( Vector3 v ) \ Return a vector transformed by the transposed matrix and return it.