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