diff options
| author | Kahrl <kahrl@gmx.net> | 2011-09-21 18:37:29 +0200 |
|---|---|---|
| committer | Kahrl <kahrl@gmx.net> | 2011-09-21 18:37:29 +0200 |
| commit | 3e012122d1607a6269af4e4522305d8b5efcd9d4 (patch) | |
| tree | 62682ee2228d2cf76e3d90c7f8360c9148802417 /src/camera.h | |
| parent | a4a2c348318139ae9605cf0d7477fe93e8aa2651 (diff) | |
| download | dragonfireclient-3e012122d1607a6269af4e4522305d8b5efcd9d4.tar.xz | |
Simplistic wielded tool lighting, added setMeshVerticesColor to utility.h and refactored some other code into calls of that
Diffstat (limited to 'src/camera.h')
| -rw-r--r-- | src/camera.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/camera.h b/src/camera.h index fbee4a378..66825e372 100644 --- a/src/camera.h +++ b/src/camera.h @@ -205,6 +205,8 @@ public: f32 getSpriteThickness() const { return m_thickness; } void setSpriteThickness(f32 thickness); + void updateLight(u8 light); + void removeSpriteFromCache(video::ITexture* texture); virtual const core::aabbox3d<f32>& getBoundingBox() const; @@ -216,6 +218,7 @@ private: f32 m_thickness; scene::IMesh* m_cubemesh; bool m_is_cube; + u8 m_light; // internal extrusion helper methods io::path getExtrudedName(video::ITexture* texture); |
