Midnight Graphics
Create Fast and Simple Graphics in C++
mn::Math::Vec< C, T > Struct Template Reference

Public Member Functions

 Vec (const std::array< T, C > &vals)
 
template<typename A >
 operator Vec< C, A > () const
 
template<typename A >
 Vec (std::initializer_list< A > v)
 
template<typename A >
auto operator+ (const Vec< C, A > &vec) const
 
template<typename A >
auto operator- (const Vec< C, A > &vec) const
 
template<typename A >
auto operator* (const A &sc) const
 
template<typename A >
auto operator/ (const A &sc) const
 
template<typename A >
void operator+= (const Vec< C, A > &vec)
 
template<typename A >
void operator-= (const Vec< C, A > &vec)
 
template<typename A >
void operator= (const Vec< C, A > &vec)
 
bool operator== (const Vec< C, T > &vec) const
 

Public Attributes

c [C]
 

Static Public Attributes

constexpr static std::size_t Size = C
 

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