use prefix and not postfix operator

This commit is contained in:
Stephen Birarda 2014-09-11 14:13:39 -07:00
parent 81758c9df6
commit 52176786d0

View file

@ -1974,7 +1974,7 @@ glm::vec3 MyAvatar::getLaserPointerTipPosition(const PalmData* palm) {
} }
void MyAvatar::clearDriveKeys() { void MyAvatar::clearDriveKeys() {
for (int i = 0; i < MAX_DRIVE_KEYS; i++) { for (int i = 0; i < MAX_DRIVE_KEYS; ++i) {
_driveKeys[i] = 0.0f; _driveKeys[i] = 0.0f;
} }
} }