MathFu
An open source project by
FPL.
|
Public Member Functions | |
VectorPacked () | |
Create an uninitialized VectorPacked. | |
VectorPacked (const Vector< T, 4 > &vector) | |
VectorPacked & | operator= (const Vector< T, 4 > &vector) |
Public Attributes | |
union mathfu::VectorPacked< T, 4 >:: { ... } | |
Elements of the packed vector one per dimension. | |
T | data [4] |
T | x |
T | y |
T | z |
T | w |
|
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. |