![]() |
Nexus Engine
v0.0.1
|
Public Types | |
| using | value_type = T |
| using | size_type = usize |
Public Member Functions | |
| constexpr | Vec ()=default |
| template<typename... Args> requires (sizeof...(Args) == N) && (std::convertible_to<Args, T> && ...) | |
| constexpr | Vec (Args &&... args) |
| constexpr T & | operator[] (size_type index) |
| constexpr const T & | operator[] (size_type index) const |
| constexpr T * | Data () |
| constexpr const T * | Data () const |
| template<Numeric U> | |
| constexpr bool | operator== (const Vec< U, N > &other) const |
| template<Numeric U> | |
| constexpr Vec & | operator+= (const Vec< U, N > &other) |
| template<Numeric U> | |
| constexpr Vec & | operator-= (const Vec< U, N > &other) |
| template<Numeric U> | |
| constexpr Vec & | operator*= (const Vec< U, N > &other) |
| template<Numeric U> | |
| constexpr Vec & | operator/= (const Vec< U, N > &other) |
| template<Numeric U> | |
| constexpr Vec & | operator*= (U scalar) |
| template<Numeric U> | |
| constexpr Vec & | operator/= (U scalar) |
| constexpr Vec | operator+ () const |
| constexpr Vec | operator- () const |
| template<Numeric U> | |
| constexpr Vec< T, N > & | operator+= (const Vec< U, N > &other) |
| template<Numeric U> | |
| constexpr Vec< T, N > & | operator-= (const Vec< U, N > &other) |
| template<Numeric U> | |
| constexpr Vec< T, N > & | operator*= (const Vec< U, N > &other) |
| template<Numeric U> | |
| constexpr Vec< T, N > & | operator/= (const Vec< U, N > &other) |
| template<Numeric U> | |
| constexpr Vec< T, N > & | operator*= (U scalar) |
| template<Numeric U> | |
| constexpr Vec< T, N > & | operator/= (U scalar) |
Static Public Member Functions | |
| static constexpr size_type | Size () |
| using Nexus::Vec< T, N >::size_type = usize |
| using Nexus::Vec< T, N >::value_type = T |
|
constexprdefault |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
staticconstexpr |