From 9743bb387c661f1dcba929969be9a9320a82d69e Mon Sep 17 00:00:00 2001 From: Erwin Coumans Date: Wed, 24 May 2017 19:30:06 -0700 Subject: [PATCH] give some pure-virtual methods default empty implementation, avoid breaking some internal research code --- examples/CommonInterfaces/CommonGUIHelperInterface.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/CommonInterfaces/CommonGUIHelperInterface.h b/examples/CommonInterfaces/CommonGUIHelperInterface.h index a5121548e..24b4a301c 100644 --- a/examples/CommonInterfaces/CommonGUIHelperInterface.h +++ b/examples/CommonInterfaces/CommonGUIHelperInterface.h @@ -84,8 +84,8 @@ struct GUIHelperInterface virtual void autogenerateGraphicsObjects(btDiscreteDynamicsWorld* rbWorld) =0; - virtual void drawText3D( const char* txt, float posX, float posY, float posZ, float size)=0; - virtual void drawText3D( const char* txt, float position[3], float orientation[4], float color[4], float size, int optionFlag)=0; + virtual void drawText3D( const char* txt, float posX, float posY, float posZ, float size){} + virtual void drawText3D( const char* txt, float position[3], float orientation[4], float color[4], float size, int optionFlag){} virtual int addUserDebugText3D( const char* txt, const double positionXYZ[3], const double orientation[4], const double textColorRGB[3], double size, double lifeTime, int trackingVisualShapeIndex, int optionFlags){return -1;} virtual int addUserDebugLine(const double debugLineFromXYZ[3], const double debugLineToXYZ[3], const double debugLineColorRGB[3], double lineWidth, double lifeTime , int trackingVisualShapeIndex){return -1;};