1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-12-30 01:55:22 +01:00

use unordered containers where possible (patch 4 on X)

Also remove some unused parameters/functions
This commit is contained in:
Loic Blot
2016-10-06 19:20:12 +02:00
committed by sfan5
parent b66a5d2f88
commit 155288ee98
13 changed files with 63 additions and 99 deletions

View File

@@ -112,7 +112,7 @@ private:
bool m_animation_loop;
bool m_animation_sent;
std::map<std::string, core::vector2d<v3f> > m_bone_position;
UNORDERED_MAP<std::string, core::vector2d<v3f> > m_bone_position;
bool m_bone_position_sent;
int m_attachment_parent_id;
@@ -321,7 +321,8 @@ private:
bool m_animation_loop;
bool m_animation_sent;
std::map<std::string, core::vector2d<v3f> > m_bone_position; // Stores position and rotation for each bone name
// Stores position and rotation for each bone name
UNORDERED_MAP<std::string, core::vector2d<v3f> > m_bone_position;
bool m_bone_position_sent;
int m_attachment_parent_id;