![]() |
Raven Engine v0.1
|
General N-dimensional fixed-size vector container. More...
#include <Vector.h>
Public Member Functions | |
| constexpr | Vector ()=default |
| constexpr T & | operator[] (size_t index) |
| Access component by index. | |
| constexpr const T & | operator[] (size_t index) const |
| Access component by index. | |
Public Attributes | |
| std::array< T, N > | Data {} |
| Underlying component storage. | |
General N-dimensional fixed-size vector container.
| T | Numeric element type. |
| N | Dimension (number of components). |
|
constexprdefault |
|
inlineconstexpr |
Access component by index.
| index | Zero-based component index (0 <= index < N). |
|
inlineconstexpr |
Access component by index.
| index | Zero-based component index (0 <= index < N). |
| std::array<T, N> Crux::Vector< T, N >::Data {} |
Underlying component storage.