27 #ifndef ICB_PX_3DREALPOINT_H_INCLUDED 28 #define ICB_PX_3DREALPOINT_H_INCLUDED 31 #include "engines/icb/common/px_rcutypes.h" 41 #error "REAL_ZERO not defined" 42 #endif // #ifndef REAL_ZERO 63 void SetX(PXreal fX) { m_fX = fX; }
64 void SetY(PXreal fY) { m_fY = fY; }
65 void SetZ(PXreal fZ) { m_fZ = fZ; }
66 PXreal GetX()
const {
return m_fX; }
67 PXreal GetY()
const {
return m_fY; }
68 PXreal GetZ()
const {
return m_fZ; }
71 void Set(PXreal fX, PXreal fY, PXreal fZ) {
78 PXreal m_fX, m_fY, m_fZ;
82 inline bool8 px3DRealPoint::operator == (
const px3DRealPoint &obOpB)
const {
83 if ((PXfabs(m_fX - obOpB.m_fX) < (FLT_MIN * 5.0f)) &&
84 (PXfabs(m_fY - obOpB.m_fY) < (FLT_MIN * 5.0f)) &&
85 (PXfabs(m_fZ - obOpB.m_fZ) < (FLT_MIN * 5.0f)))
95 #endif // #ifndef PX_3DREALPOINT_H_INCLUDED Definition: px_3drealpoint.h:45