Manifold 3.0
Robust geometry
 
Loading...
Searching...
No Matches
vec< T, 2 > Struct Template Reference
Core » Math » LinAlg » Vec

Public Member Functions

constexpr vec (const T &x_, const T &y_)
 
constexpr vec (const T &s)
 
constexpr vec (const T *p)
 
template<class U , int N>
constexpr vec (const vec< U, N > &v)
 
constexpr const T & operator[] (int i) const
 
LINALG_CONSTEXPR14 T & operator[] (int i)
 
template<class U , class = detail::conv_t<vec, U>>
constexpr vec (const U &u)
 
template<class U , class = detail::conv_t<U, vec>>
constexpr operator U () const
 

Public Attributes

x
 
y