1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-27 17:28:41 +00:00

farmesh render range is now dynamic

This commit is contained in:
Perttu Ahola 2011-06-18 13:43:49 +03:00
parent 7d0395ba36
commit c78d610618
4 changed files with 25 additions and 22 deletions

View file

@ -67,7 +67,7 @@ public:
void step(float dtime);
void update(v2f camera_p, float brightness);
void update(v2f camera_p, float brightness, s16 render_range);
private:
video::SMaterial m_materials[FARMESH_MATERIAL_COUNT];
@ -78,6 +78,7 @@ private:
v2f m_camera_pos;
float m_time;
Client *m_client;
s16 m_render_range;
};
#endif