1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-21 20:05:45 +02:00

Speedup attachement handling by replacing vector search by direct array access and secondary child lookup vector

This commit is contained in:
sapier
2014-06-08 12:49:06 +02:00
parent 56bf867874
commit 35ec3855f6
4 changed files with 49 additions and 78 deletions

View File

@@ -102,6 +102,8 @@ private:
u8 m_last_light;
bool m_is_visible;
std::vector<u16> m_children;
public:
GenericCAO(IGameDef *gamedef, ClientEnvironment *env);