mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-14 13:50:04 +00:00
made char* in addUserDebugParameter const
This commit is contained in:
parent
6428ed5e5f
commit
4c6e3daf5e
@ -1503,7 +1503,7 @@ bool b3RobotSimulatorClientAPI_NoDirect::changeDynamics(int bodyUniqueId, int li
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
int b3RobotSimulatorClientAPI_NoDirect::addUserDebugParameter(char* paramName, double rangeMin, double rangeMax, double startValue)
|
int b3RobotSimulatorClientAPI_NoDirect::addUserDebugParameter(const char* paramName, double rangeMin, double rangeMax, double startValue)
|
||||||
{
|
{
|
||||||
b3PhysicsClientHandle sm = m_data->m_physicsClientHandle;
|
b3PhysicsClientHandle sm = m_data->m_physicsClientHandle;
|
||||||
if (sm == 0)
|
if (sm == 0)
|
||||||
|
@ -786,7 +786,7 @@ public:
|
|||||||
|
|
||||||
bool changeDynamics(int bodyUniqueId, int linkIndex, struct b3RobotSimulatorChangeDynamicsArgs &args);
|
bool changeDynamics(int bodyUniqueId, int linkIndex, struct b3RobotSimulatorChangeDynamicsArgs &args);
|
||||||
|
|
||||||
int addUserDebugParameter(char *paramName, double rangeMin, double rangeMax, double startValue);
|
int addUserDebugParameter(const char *paramName, double rangeMin, double rangeMax, double startValue);
|
||||||
|
|
||||||
double readUserDebugParameter(int itemUniqueId);
|
double readUserDebugParameter(int itemUniqueId);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user