BSNS102 Study Guide - Final Guide: Coordinate Space, Linear Map, Anatomical Plane
Document Summary
// multiply by the transpose return vector3( m11*v. x + m12*v. y + m13*v. z, m21*v. x + m22*v. y + m23*v. z, m31*v. x + m32*v. y + m33*v. z. Class rotationmatrix is extremely useful for the very specific purpose for which it was designed. Class matrix4 3 is a more general-purpose matrix class designed to handle more complicated transformations. This matrix class stores a general affine transformation matrix. Rotation, scale, skew, reflection, projection, and translation are all sup- ported. Because of this, the semantics of class matrix4 3 are different from class. Whereas class rotationmatrix applies specifically to object space and inertial space, class matrix4 3 will have more general application, so we will use the more generic terms source and destination coordinate space instead. Matrix, the direction of transformation is specified when the matrix is created, and then points may only be transformed in that direction (from source to destination).