Fixed-size vector. More...
#include <Types.h>
Public Member Functions | |
| Vec< 2, T > | get (int i0, int i1) const |
| Get a vector comprised of indexed elements. | |
| Vec< 3, T > | get (int i0, int i1, int i2) const |
| Get a vector comprised of indexed elements. | |
| Vec< 4, T > | get (int i0, int i1, int i2, int i3) const |
| Get a vector comprised of indexed elements. | |
| Vec & | set (const T &v) |
| Set all elements to the same value. | |
| Vec & | set (const T &v1, const T &v2) |
| Set first 2 elements. | |
| Vec & | set (const T &v1, const T &v2, const T &v3) |
| Set first 3 elements. | |
| Vec & | set (const T &v1, const T &v2, const T &v3, const T &v4) |
| Set first 4 elements. | |
| Vec & | set (const T &v1, const T &v2, const T &v3, const T &v4, const T &v5) |
| Set first 5 elements. | |
| Vec & | set (const T &v1, const T &v2, const T &v3, const T &v4, const T &v5, const T &v6) |
| Set first 6 elements. | |
| T & | operator[] (uint32_t i) |
| Set element at index with no bounds checking. | |
| const T & | operator[] (uint32_t i) const |
| Get element at index with no bounds checking. | |
| void | zero () |
| Zeros all elements. | |
Static Public Member Functions | |
| static uint32_t | size () |
| Returns size of array. | |
Fixed-size vector.