![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cCoordSpace.h>
Public Types | |
typedef float | DVALUE_t |
Public Member Functions | |
cCoordSpaceDX () | |
cVector3f | CvtWorldToRender2 (const cPoint3f &pt) const |
cPoint3f | CvtRenderToWorld2 (const cVector3f &vPt) const |
cVector3f | CvtWorldToRender (const cPoint3f &pt) const |
cPoint3f | CvtRenderToWorld (const cVector3f &vPt) const |
UNITTEST_FRIEND (cCoordSpace) | |
Public Attributes | |
cVector3f | m_d3dOffset |
offset for convert to d3d device. More... | |
bool | m_bOffsetActive |
actively changing the m_d3dOffset More... | |
UINT | m_d3dFrameOffset |
for debug use. (the frame during which i did the offset) More... | |
simple transform from 1 coordinate space to another. DX render (Left Hand Rule) to world map. y and z are swapped ! + add/sub offset
typedef float GrayLib::cCoordSpaceDX::DVALUE_t |
|
inline |
Convert vector for drawing to point3d. y and z are swapped ! + offset set this as XMFLOAT3 (y,z reversed)
Convert point3d to vector for drawing. y and z are swapped ! + offset get this as a XMFLOAT3
GrayLib::cCoordSpaceDX::UNITTEST_FRIEND | ( | cCoordSpace | ) |
bool GrayLib::cCoordSpaceDX::m_bOffsetActive |
actively changing the m_d3dOffset
UINT GrayLib::cCoordSpaceDX::m_d3dFrameOffset |
for debug use. (the frame during which i did the offset)
cVector3f GrayLib::cCoordSpaceDX::m_d3dOffset |
offset for convert to d3d device.