PyBullet: add planar reflection example,
See examples/pybullet/examples/addPlanarReflection.py
This commit is contained in:
1 parent
39edcf699c
commit
ffc808784b
11 files changed
+155
-15
No files matched your search
@@ -1026,6 +1026,10 @@ void OpenGLGuiHelper::setVisualizerFlagCallback(VisualizerFlagCallback callback)
|
||||
|
||||
void OpenGLGuiHelper::setVisualizerFlag(int flag, int enable)
|
||||
{
|
||||
if (getRenderInterface() && flag==16)//COV_ENABLE_PLANAR_REFLECTION
|
||||
{
|
||||
getRenderInterface()->setPlaneReflectionShapeIndex(enable);
|
||||
}
|
||||
if (m_data->m_visualizerFlagCallback)
|
||||
(m_data->m_visualizerFlagCallback)(flag,enable);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user