|
MathFu
An open source project by
FPL.
|
Public Member Functions | |
| VectorPacked () | |
| Create an uninitialized VectorPacked. | |
| VectorPacked (const Vector< T, 3 > &vector) | |
| VectorPacked & | operator= (const Vector< T, 3 > &vector) |
Public Attributes | |
| union mathfu::VectorPacked< T, 3 >:: { ... } | |
| Elements of the packed vector one per dimension. | |
| T | data [3] |
| T | x |
| T | y |
| T | z |
|
inlineexplicit |
Create a VectorPacked from a Vector.
Both VectorPacked and Vector must have the same number of dimensions.
| vector | Vector to create the VectorPacked from. |
|
inline |
Copy a Vector to a VectorPacked.
Both VectorPacked and Vector must have the same number of dimensions.
| vector | Vector to copy to the VectorPacked. |