add btMultiBodyConstraint::finalizeMultiDof API: if you add multi-body constraints to a multi-dof btMultiBody, before it has been finalized using the btMultiBody::finalizeMultiDof call,
then you have to manually call the btMultiBodyConstraint::finalizeMultiDof for all multi-dof multi body constraints.
This commit is contained in:
15
btgui/Bullet3AppSupport/Common2dCanvasInterface.h
Normal file
15
btgui/Bullet3AppSupport/Common2dCanvasInterface.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef COMMON_2D_CANVAS_INTERFACE_H
|
||||
#define COMMON_2D_CANVAS_INTERFACE_H
|
||||
|
||||
struct Common2dCanvasInterface
|
||||
{
|
||||
virtual ~Common2dCanvasInterface() {}
|
||||
virtual int createCanvas(const char* canvasName, int width, int height)=0;
|
||||
virtual void destroyCanvas(int canvasId)=0;
|
||||
virtual void setPixel(int canvasId, int x, int y, unsigned char red, unsigned char green,unsigned char blue, unsigned char alpha)=0;
|
||||
virtual void refreshImageData(int canvasId)=0;
|
||||
|
||||
};
|
||||
|
||||
#endif //COMMON_2D_CANVAS_INTERFACE_H
|
||||
|
||||
Reference in New Issue
Block a user