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

#include <ice/math/vector.hxx>

Public Types

using value_type = T

Public Member Functions

constexpr mat () noexcept
constexpr mat (T value) noexcept
constexpr mat (T const(&array)[3]) noexcept
constexpr mat (T x, T y, T z) noexcept
template<typename U>
requires (std::convertible_to<U, T>)
constexpr mat (mat< 3, 1, U > other) noexcept
template<typename U>
requires (std::convertible_to<U, T>)
constexpr mat (mat< 4, 1, U > other) noexcept
constexpr mat (T const(&array)[4]) noexcept

Public Attributes

union ice::math::mat< 3, 1, T >:: { ... }  

Static Public Attributes

static constexpr auto count_rows = 3
static constexpr auto count_columns = 1

Member Typedef Documentation

◆ value_type

template<typename T>
using ice::math::mat< 3, 1, T >::value_type = T

Constructor & Destructor Documentation

◆ mat() [1/7]

template<typename T>
ice::math::mat< 3, 1, T >::mat ( )
inlineconstexprnoexcept

◆ mat() [2/7]

template<typename T>
ice::math::mat< 3, 1, T >::mat ( T value)
inlineexplicitconstexprnoexcept

◆ mat() [3/7]

template<typename T>
ice::math::mat< 3, 1, T >::mat ( T const(&) array[3])
inlineconstexprnoexcept

◆ mat() [4/7]

template<typename T>
ice::math::mat< 3, 1, T >::mat ( T x,
T y,
T z )
inlineconstexprnoexcept

◆ mat() [5/7]

template<typename T>
template<typename U>
requires (std::convertible_to<U, T>)
ice::math::mat< 3, 1, T >::mat ( mat< 3, 1, U > other)
inlineexplicitconstexprnoexcept

◆ mat() [6/7]

template<typename T>
template<typename U>
requires (std::convertible_to<U, T>)
ice::math::mat< 3, 1, T >::mat ( mat< 4, 1, U > other)
inlineexplicitconstexprnoexcept

◆ mat() [7/7]

template<typename T>
ice::math::mat< 3, 1, T >::mat ( T const(&) array[4])
inlineexplicitconstexprnoexcept

Member Data Documentation

◆ []

union ice::math::mat< 3, 1, T > { ... } ice::math::mat< 3, 1, T >

◆ count_columns

template<typename T>
auto ice::math::mat< 3, 1, T >::count_columns = 1
staticconstexpr

◆ count_rows

template<typename T>
auto ice::math::mat< 3, 1, T >::count_rows = 3
staticconstexpr

◆ v

template<typename T>
T ice::math::mat< 3, 1, T >::v[count_columns][count_rows]

◆ x

template<typename T>
T ice::math::mat< 3, 1, T >::x

◆ y

template<typename T>
T ice::math::mat< 3, 1, T >::y

◆ z

template<typename T>
T ice::math::mat< 3, 1, T >::z

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