|
resonance 1.0.1
|
Three-component vector, padded to a PlayStation 2 quadword. More...
#include <vector3.h>
Public Attributes | |
| float | x |
| float | y |
| float | z |
| float | w = 1.0f |
Three-component vector, padded to a PlayStation 2 quadword.
The class is not polymorphic and emits no RTTI descriptor. Its text dump writes three components under the labels "(x:", " y:", and " z:", and every vector unit access in the renderer loads and stores all four words at once. The fourth word is therefore padding rather than a homogeneous coordinate. Construction sets the padding word to 1.0. The quadword is then usable as a row of a transform.
| float Vector3::x |
| float Vector3::y |
| float Vector3::z |
| float Vector3::w = 1.0f |