Bubba-3D
0.9.0
Awesome game engine!
|
Public Member Functions | |
RelativeIHudDrawable (Camera *worldCamera, GameObject *relativeTo, IHudDrawable *toDraw) | |
virtual void | render (ShaderProgram *shaderProgram, chag::float4x4 *projectionMatrix) |
![]() | |
virtual void | setRelativePosition (chag::float3 position) |
virtual void | setCenterOffset (chag::float3 offset) |
virtual void | setRotation (float rotation) |
virtual void | setScale (chag::float2 scale) |
Protected Attributes | |
GameObject * | relativeTo |
IHudDrawable * | toDraw |
Camera * | worldCamera |
![]() | |
chag::float3 | center = chag::make_vector(0.0f, 0.0f, 0.0f) |
float | rotation = 0.0f |
chag::float3 | originalPosition = chag::make_vector(0.0f, 0.0f, 0.0f) |
chag::float3 | scale = chag::make_vector(1.0f,1.0f,1.0f) |
Additional Inherited Members | |
![]() | |
chag::float3 | relativePosition = chag::make_vector(0.0f, 0.0f, 0.0f) |
Definition at line 24 of file RelativeIHudDrawable.h.