Improve clampVelocity parameter readability
This commit is contained in:
@@ -607,7 +607,7 @@ void MoveCenterTabController::resetHmdYawTotal()
|
|||||||
m_hmdYawTotal = 0.0;
|
m_hmdYawTotal = 0.0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void MoveCenterTabController::clampVelocity( double velocity[3] )
|
void MoveCenterTabController::clampVelocity( double* velocity )
|
||||||
{
|
{
|
||||||
for ( int i = 0; i < 3; i++ )
|
for ( int i = 0; i < 3; i++ )
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -126,7 +126,7 @@ private:
|
|||||||
double angle );
|
double angle );
|
||||||
void updateHandTurn( vr::TrackedDevicePose_t* devicePoses, double angle );
|
void updateHandTurn( vr::TrackedDevicePose_t* devicePoses, double angle );
|
||||||
void updateGravity( double secondsSinceLastTick, double angle );
|
void updateGravity( double secondsSinceLastTick, double angle );
|
||||||
void clampVelocity( double velocity[3] );
|
void clampVelocity( double* velocity );
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void initStage1();
|
void initStage1();
|
||||||
|
|||||||
Reference in New Issue
Block a user