add initializer for member variable

This commit is contained in:
Andrew Meadows 2016-12-01 10:41:40 -08:00
parent 445c730ca3
commit ae699e2a65

View file

@ -169,7 +169,7 @@ protected:
quint32 _takeoffJumpButtonID;
// data for walking up steps
btVector3 _stepPoint;
btVector3 _stepPoint { 0.0f, 0.0f, 0.0f };
btVector3 _stepNormal { 0.0f, 0.0f, 0.0f };
btVector3 _stepUpVelocity { 0.0f, 0.0f, 0.0f };
btScalar _stepHeight { 0.0f };