| Class | Fox::FXHMat |
| In: |
rdoc-sources/FXMat4.rb
|
| Parent: | Object |
FXHMat is a 3-D homogeneous matrix.
Returns a new FXHMat instance with each row initialized to the values in each of the input vectors (a, b, c and d).
Returns a new FXHMat instance with elements initialized by the supplied values (e.g. _a12_ is the initial value for the second row and third column).
Pre-multiply this matrix by the rotation (c, s) about axis and return self. Here, axis is a FXVec instance, c is the cosine of the angle of rotation and s is the sine of the angle of rotation.
Pre-multiply by a rotation of phi radians about axis (an FXVec instance) and and return self.
Pre-multiply this matrix by the translation tranformation matrix T(vec[0], vec[1], vec[2]) and return self.
Pre-multiply by rotation about the x-axis and return self. Here, c is the cosine of the angle of rotation and s is the sine of the angle of rotation.
Pre-multiply by rotation about the y-axis and return self. Here, c is the cosine of the angle of rotation and s is the sine of the angle of rotation.