![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cVecT.h>
Public Types | |
typedef cVecT2< TYPE > | THIS_t |
typedef cVecTC< TYPE, k_nDim, THIS_t > | SUPER_t |
![]() | |
typedef DVALUEDEF_t | DVALUE_t |
Dimension value type. More... | |
typedef cVecTC< DVALUEDEF_t, _IQTY, cVecT2< DVALUEDEF_t > > | THIS_t |
Public Attributes | |
union { | |
TYPE m_a [k_nDim] | |
struct { | |
TYPE m_x | |
TYPE m_y | |
} | |
struct { | |
TYPE x | |
TYPE y | |
} | |
}; | |
Additional Inherited Members | |
![]() | |
static DVALUEDEF_t | GetDot (const THIS_t &v1, const THIS_t &v2) |
![]() | |
static const int | k_nDim |
![]() | |
cVecTC () | |
Store 2 values. does not assume units or usage. may be a 2d point x,y like HLSL float2 semi Compatible with MFC 2d cPoint2i.
typedef cVecTC<TYPE, k_nDim, THIS_t> GrayLib::cVecT2< TYPE >::SUPER_t |
typedef cVecT2<TYPE> GrayLib::cVecT2< TYPE >::THIS_t |
|
inlinenoexcept |
ASSUME no/random/undefined init.
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
union { ... } |
TYPE GrayLib::cVecT2< TYPE >::m_a[k_nDim] |
TYPE GrayLib::cVecT2< TYPE >::m_x |
TYPE GrayLib::cVecT2< TYPE >::m_y |
TYPE GrayLib::cVecT2< TYPE >::x |
TYPE GrayLib::cVecT2< TYPE >::y |