Dry
Public Member Functions | Public Attributes | List of all members
Dry::Decal Struct Reference

One decal in a decal set. More...

#include <Dry/Graphics/DecalSet.h>

Public Member Functions

 Decal ()
 Construct with defaults.
 
void AddVertex (const DecalVertex &vertex)
 Add a vertex.
 
void CalculateBoundingBox ()
 Calculate local-space bounding box.
 

Public Attributes

float timer_
 Decal age timer.
 
float timeToLive_
 Maximum time to live in seconds (0 = infinite)
 
BoundingBox boundingBox_
 Local-space bounding box.
 
PODVector< DecalVertexvertices_
 Decal vertices.
 
PODVector< unsigned short > indices_
 Decal indices.
 

Detailed Description

One decal in a decal set.


The documentation for this struct was generated from the following files: