diff --git a/src/tabcontrollers/MoveCenterTabController.cpp b/src/tabcontrollers/MoveCenterTabController.cpp index d3d0896..d4bcc69 100644 --- a/src/tabcontrollers/MoveCenterTabController.cpp +++ b/src/tabcontrollers/MoveCenterTabController.cpp @@ -607,7 +607,7 @@ void MoveCenterTabController::resetHmdYawTotal() m_hmdYawTotal = 0.0; } -void MoveCenterTabController::clampVelocity( double velocity[3] ) +void MoveCenterTabController::clampVelocity( double* velocity ) { for ( int i = 0; i < 3; i++ ) { diff --git a/src/tabcontrollers/MoveCenterTabController.h b/src/tabcontrollers/MoveCenterTabController.h index 4b61c98..d72dfdf 100644 --- a/src/tabcontrollers/MoveCenterTabController.h +++ b/src/tabcontrollers/MoveCenterTabController.h @@ -126,7 +126,7 @@ private: double angle ); void updateHandTurn( vr::TrackedDevicePose_t* devicePoses, double angle ); void updateGravity( double secondsSinceLastTick, double angle ); - void clampVelocity( double velocity[3] ); + void clampVelocity( double* velocity ); public: void initStage1();