mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 21:47:59 +00:00
CHierarchyPoseBuilder imps
This commit is contained in:
20
Runtime/Character/TSegIdMap.hpp
Normal file
20
Runtime/Character/TSegIdMap.hpp
Normal file
@@ -0,0 +1,20 @@
|
||||
#ifndef __URDE_TSEGIDMAP_HPP__
|
||||
#define __URDE_TSEGIDMAP_HPP__
|
||||
|
||||
#include <map>
|
||||
#include "CSegId.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
|
||||
template <class T>
|
||||
class TSegIdMap
|
||||
{
|
||||
std::map<CSegId, T> x0_map;
|
||||
public:
|
||||
const T& AccessElement(const CSegId& id) const {return x0_map[id];}
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif // __URDE_TSEGIDMAP_HPP__
|
||||
Reference in New Issue
Block a user