Skip to content

Commit

Permalink
GRAPHICS: Define constants for vertical alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
farmboy0 committed Nov 25, 2017
1 parent 77a33d2 commit d73ce64
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/graphics/aurora/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ const float kHAlignLeft = 0.0f;
const float kHAlignCenter = 0.5f;
const float kHAlignRight = 1.0f;

const float kVAlignTop = 1.0f;
const float kVAlignMiddle = 0.5f;
const float kVAlignBottom = 0.0f;

/** The display type of a model. */
enum ModelType {
kModelTypeObject = kRenderableTypeObject, ///< A real object in the game world.
Expand Down

0 comments on commit d73ce64

Please sign in to comment.