mirror of
https://github.com/bulletphysics/bullet3
synced 2025-01-18 21:10:05 +00:00
Fix compiler warning.
This commit is contained in:
parent
3ab39d95a1
commit
4c2eb79f29
@ -654,7 +654,7 @@ void PhysicsClientExample::createButtons()
|
||||
{
|
||||
if (m_numMotors < MAX_NUM_MOTORS)
|
||||
{
|
||||
char motorName[1024];
|
||||
char motorName[1026];
|
||||
snprintf(motorName, sizeof(motorName), "%s q", info.m_jointName);
|
||||
// MyMotorInfo2* motorInfo = &m_motorTargetVelocities[m_numMotors];
|
||||
MyMotorInfo2* motorInfo = &m_motorTargetPositions[m_numMotors];
|
||||
|
Loading…
Reference in New Issue
Block a user