| 41 |
|
Rotating points in space can be performed by a vector-matrix |
| 42 |
|
multiplication. The matrix3x3 class is designed as a helper to the |
| 43 |
|
vector3 class for rotating points in space. The rotation matrix may be |
| 44 |
< |
initialised by passing in the array of doubleing point values, by |
| 44 |
> |
initialised by passing in the array of floating point values, by |
| 45 |
|
passing euler angles, or a rotation vector and angle of rotation about |
| 46 |
|
that vector. Once set, the matrix3x3 class can be used to rotate |
| 47 |
|
vectors by the overloaded multiplication operator. The following |
| 102 |
|
generate the 0-matrix. If the length of the axis is close to |
| 103 |
|
zero, but not == 0.0, this method may behave in unexpected |
| 104 |
|
ways and return almost random results; details may depend on |
| 105 |
< |
your particular doubleing point implementation. The use of this |
| 105 |
> |
your particular floating point implementation. The use of this |
| 106 |
|
method is therefore highly discouraged, unless you are certain |
| 107 |
|
that the length is in a reasonable range, away from 0.0 |
| 108 |
|
(Stefan Kebekus) |
| 137 |
|
generate the 0-matrix. If the length of the axis is close to |
| 138 |
|
zero, but not == 0.0, this method may behave in unexpected ways |
| 139 |
|
and return almost random results; details may depend on your |
| 140 |
< |
particular doubleing point implementation. The use of this method |
| 140 |
> |
particular floating point implementation. The use of this method |
| 141 |
|
is therefore highly discouraged, unless you are certain that the |
| 142 |
|
length is in a reasonable range, away from 0.0 (Stefan |
| 143 |
|
Kebekus) |
| 289 |
|
|
| 290 |
|
\warning If the determinant is close to zero, but not == 0.0, |
| 291 |
|
this method may behave in unexpected ways and return almost |
| 292 |
< |
random results; details may depend on your particular doubleing |
| 292 |
> |
random results; details may depend on your particular floating |
| 293 |
|
point implementation. The use of this method is therefore highly |
| 294 |
|
discouraged, unless you are certain that the determinant is in a |
| 295 |
|
reasonable range, away from 0.0 (Stefan Kebekus) |