worked on camera

This commit is contained in:
aap
2016-07-06 11:44:59 +02:00
parent dcbbdfe6b2
commit bd06c54c57
8 changed files with 185 additions and 60 deletions

View File

@@ -535,6 +535,9 @@ struct Camera : PluginBase<Camera>
float32 fogPlane;
int32 projection;
Matrix viewMatrix;
float32 zScale, zShift;
// clump link handled by plugin in RW
Clump *clump;
LLLink inClump;
@@ -556,6 +559,8 @@ struct Camera : PluginBase<Camera>
void beginUpdate(void) { this->beginUpdateCB(this); }
void endUpdate(void) { this->endUpdateCB(this); }
void clear(RGBA *col, uint32 mode);
void setNearPlane(float32);
void setFarPlane(float32);
static Camera *streamRead(Stream *stream);
bool streamWrite(Stream *stream);
uint32 streamGetSize(void);