mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-15 14:10:11 +00:00
a6fa717dac
tweak camera near plane distance, less sensitive mouse wheel
18 lines
633 B
C
18 lines
633 B
C
#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 getPixel(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
|
|
|