mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-15 14:10:11 +00:00
Merge pull request #1095 from erwincoumans/master
minor change in API for CommonGUIHelperInterface
This commit is contained in:
commit
49eda303bc
@ -37,7 +37,7 @@ struct GUIHelperInterface
|
|||||||
virtual int registerGraphicsShape(const float* vertices, int numvertices, const int* indices, int numIndices,int primitiveType, int textureId) = 0;
|
virtual int registerGraphicsShape(const float* vertices, int numvertices, const int* indices, int numIndices,int primitiveType, int textureId) = 0;
|
||||||
virtual int registerGraphicsInstance(int shapeIndex, const float* position, const float* quaternion, const float* color, const float* scaling) =0;
|
virtual int registerGraphicsInstance(int shapeIndex, const float* position, const float* quaternion, const float* color, const float* scaling) =0;
|
||||||
virtual void removeAllGraphicsInstances()=0;
|
virtual void removeAllGraphicsInstances()=0;
|
||||||
virtual void removeGraphicsInstance(int graphicsUid)=0;
|
virtual void removeGraphicsInstance(int graphicsUid) {}
|
||||||
|
|
||||||
virtual Common2dCanvasInterface* get2dCanvasInterface()=0;
|
virtual Common2dCanvasInterface* get2dCanvasInterface()=0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user