mirror of
https://github.com/aap/librw.git
synced 2026-04-19 13:03:09 +01:00
added imguizmo; subraster handling etc
This commit is contained in:
@@ -179,11 +179,13 @@ struct Raster
|
||||
int32 originalWidth;
|
||||
int32 originalHeight;
|
||||
int32 originalStride;
|
||||
// TODO:
|
||||
// parent raster and offset
|
||||
// subraster
|
||||
Raster *parent;
|
||||
int32 offsetX, offsetY;
|
||||
|
||||
static Raster *create(int32 width, int32 height, int32 depth,
|
||||
int32 format, int32 platform = 0);
|
||||
void subRaster(Raster *parent, Rect *r);
|
||||
void destroy(void);
|
||||
static Raster *createFromImage(Image *image, int32 platform = 0);
|
||||
Image *toImage(void);
|
||||
@@ -583,6 +585,11 @@ struct Camera
|
||||
Raster *frameBuffer;
|
||||
Raster *zBuffer;
|
||||
|
||||
// Device dependant view and projection matrices
|
||||
// optional
|
||||
RawMatrix devView;
|
||||
RawMatrix devProj;
|
||||
|
||||
// clump link handled by plugin in RW
|
||||
Clump *clump;
|
||||
LLLink inClump;
|
||||
|
||||
Reference in New Issue
Block a user