![]() |
The LARC Game Engine
A Simple Game Engine from the Laboratory for Recreational Computing
|
The 3D sprite descriptor. More...
#include <SpriteDesc.h>
Inherits CSpriteDesc.
Public Member Functions | |
CSpriteDesc3D (const CSpriteDesc2D &, float) | |
Constructor. More... | |
CSpriteDesc3D () | |
Default constructor. | |
Public Attributes | |
Vector3 | m_vPos = Vector3::Zero |
Position. | |
BoundingBox | m_sAabb |
Axially aligned bounding box. | |
float | m_fYaw = 0.0f |
Y-axis rotation. | |
float | m_fPitch = 0.0f |
X-axis rotation. | |
Describes the sprite draw parameters for 3D sprites.
CSpriteDesc3D::CSpriteDesc3D | ( | const CSpriteDesc2D & | d, |
float | z | ||
) |
Construct a 3D sprite descriptor from a 2D sprite descriptor and a depth.
d | A 2D sprite descriptor. |
z | Depth. |