|
Matrix44 Struct ReferenceList of all members.
Detailed Description
A 4x4 matrix.
Member Function Documentation
| Matrix44 Matrix44::identity |
( |
|
) |
[inline, static] |
|
|
|
Returns an identity matrix. |
| Matrix44 Matrix44::inverse |
( |
|
) |
const [inline] |
|
|
|
Calculate the inverse matrix. There is also a C interface: |
|
|
Vector transformation. -
C Interface:
-
|
| Matrix44 Matrix44::operator * |
( |
const Matrix44 & |
m |
) |
const [inline] |
|
|
|
Matrix multiplication. -
C Interface:
-
|
| Matrix44::operator Float * |
( |
|
) |
const [inline] |
|
|
|
Access the matrix contents as a flat array. |
| Float* Matrix44::operator[] |
( |
int |
row |
) |
const [inline] |
|
|
|
Access a matrix row as an array. |
|
|
Set the rotational part of the matrix from an angle-axis representation. -
Parameters:
-
| angle |
The rotation in degrees. |
| x,y,z |
The normalized rotation axis. |
-
C Interface:
-
|
|
|
Sets the rotational part of the matrix from euler angles. -
Parameters:
-
| h |
Heading, or rotation about Y axis |
| p |
Pitch, or rotation about X axis |
| r |
Roll, or rotation about Z axis. |
-
C Interface:
-
|
| void Matrix44::setIdentity |
( |
|
) |
[inline] |
|
|
|
Sets to the identity matrix. |
| void Matrix44::setQuaternion |
( |
const Quaternion & |
q |
) |
[inline] |
|
|
|
Set the rotational part of the matrix from a quaternion representation. -
C Interface:
-
|
| void Matrix44::setTranslation |
( |
const Vector3 & |
t |
) |
[inline] |
|
|
|
Set the positional part of the matrix. |
|
|
Set the positional part of the matrix. |
The documentation for this struct was generated from the following file:
Flat Four Engine
Copyright (C) 2001 by 379, Inc.
|
This page generated by Doxygen
|
|