Skip to content

Commit

Permalink
GRAPHICS: Add getScale methods to ModelNode
Browse files Browse the repository at this point in the history
  • Loading branch information
mirv-sillyfish authored and DrMcCoy committed Nov 17, 2018
1 parent bb51d20 commit cf79afa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/graphics/aurora/modelnode.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ class ModelNode {
/** Set the alpha (transparency) of the node. */
void setAlpha(float alpha, bool isRecursive = true);

float getScaleX() { return _scale[0]; }
float getScaleY() { return _scale[1]; }
float getScaleZ() { return _scale[2]; }

/** The way the environment map is applied to a model node. */
enum EnvironmentMapMode {
kModeEnvironmentBlendedUnder, ///< Environment map first, then blend the diffuse textures in.
Expand Down

0 comments on commit cf79afa

Please sign in to comment.