IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
Loading...
Searching...
No Matches
ice::math::arr_t< 4, T > Struct Template Reference

#include <ice/math/array.hxx>

Public Types

using value_type = T

Public Member Functions

constexpr arr_t () noexcept
constexpr arr_t (T value) noexcept
constexpr arr_t (T x, T y, T z, T w) noexcept

Public Attributes

union ice::math::arr_t< 4, T >:: { ... }  

Static Public Attributes

static constexpr auto count_elements = 4

Member Typedef Documentation

◆ value_type

template<typename T>
using ice::math::arr_t< 4, T >::value_type = T

Constructor & Destructor Documentation

◆ arr_t() [1/3]

template<typename T>
ice::math::arr_t< 4, T >::arr_t ( )
inlineconstexprnoexcept

◆ arr_t() [2/3]

template<typename T>
ice::math::arr_t< 4, T >::arr_t ( T value)
inlineexplicitconstexprnoexcept

◆ arr_t() [3/3]

template<typename T>
ice::math::arr_t< 4, T >::arr_t ( T x,
T y,
T z,
T w )
inlineconstexprnoexcept

Member Data Documentation

◆ []

union ice::math::arr_t< 4, T > { ... } ice::math::arr_t< 4, T >

◆ count_elements

template<typename T>
auto ice::math::arr_t< 4, T >::count_elements = 4
staticconstexpr

◆ v

template<typename T>
T ice::math::arr_t< 4, T >::v[count_elements]

◆ w

template<typename T>
T ice::math::arr_t< 4, T >::w

◆ x

template<typename T>
T ice::math::arr_t< 4, T >::x

◆ y

template<typename T>
T ice::math::arr_t< 4, T >::y

◆ z

template<typename T>
T ice::math::arr_t< 4, T >::z

The documentation for this struct was generated from the following file: