fix the enum in AABox, fix a warning in Head

This commit is contained in:
Stephen Birarda 2013-05-28 16:26:18 -07:00
parent 8118e3bf69
commit 65f10cb99a
2 changed files with 6 additions and 5 deletions

View file

@ -61,10 +61,10 @@ Head::Head(Avatar* owningAvatar) :
_audioAttack(0.0f), _audioAttack(0.0f),
_returnSpringScale(1.0f), _returnSpringScale(1.0f),
_bodyRotation(0.0f, 0.0f, 0.0f), _bodyRotation(0.0f, 0.0f, 0.0f),
_renderLookatVectors(false),
_mohawkTriangleFan(NULL), _mohawkTriangleFan(NULL),
_mohawkColors(NULL), _mohawkColors(NULL)
_renderLookatVectors(false) { {
if (USING_PHYSICAL_MOHAWK) { if (USING_PHYSICAL_MOHAWK) {
resetHairPhysics(); resetHairPhysics();
} }

View file

@ -19,10 +19,11 @@ enum BoxFace {
MIN_Y_FACE, MIN_Y_FACE,
MAX_Y_FACE, MAX_Y_FACE,
MIN_Z_FACE, MIN_Z_FACE,
MAX_Z_FACE, MAX_Z_FACE
FACE_COUNT
}; };
const int FACE_COUNT = 6;
class AABox class AABox
{ {