simulation
Class CBoundingBox
CBoundingObject
|
+--CBoundingBox
in BoundingObjects.h
in BoundingObjects.cpp
- class CBoundingBox
- extends CBoundingObject
Constructor Summary |
CBoundingBox( float x, float y, const CVector2D& orientation, CBoundingBox* copy )
|
CBoundingBox( float x, float y, float orientation, float width, float depth, float height )
|
CBoundingBox( float x, float y, float orientation, CBoundingBox* copy )
|
CBoundingBox()
|
CBoundingBox( float x, float y, const CVector2D& orientation, float width, float depth, float height )
|
m_d
public float m_d;
m_u
public CVector2D m_u;
m_v
public CVector2D m_v;
m_w
public float m_w;
CBoundingBox
public CBoundingBox( float x, float y, const CVector2D& orientation, CBoundingBox* copy );
CBoundingBox
public CBoundingBox( float x, float y, float orientation, float width, float depth, float height );
CBoundingBox
public CBoundingBox( float x, float y, float orientation, CBoundingBox* copy );
CBoundingBox
public CBoundingBox();
CBoundingBox
public CBoundingBox( float x, float y, const CVector2D& orientation, float width, float depth, float height );
GetDepth
public float GetDepth() const;
GetWidth
public float GetWidth() const;
LooselyContains
public bool LooselyContains( const CVector2D& UNUSED( point ), const CVector2D& delta );
LooselyIntersects
public bool LooselyIntersects( CBoundingObject* obj, const CVector2D& delta );
Render
public void Render( float height );
SetDimensions
public void SetDimensions( float width, float depth );
SetOrientation
public void SetOrientation( const CVector2D& orientation );
SetOrientation
public void SetOrientation( float orientation );