31 #include "Utilities/ObjectLoader/ObjectLoader.h" 32 #include "Utilities/STL/MxMap.h" 33 #include "Utilities/STL/MxHashMap.h" 48 static bool EqF(
float x,
float y)
53 static bool LessF(
float x,
float y)
58 bool operator()(
const Vector3& v1,
const Vector3& v2)
const 62 return LessF(v1.z, v2.z);
64 return LessF(v1.y, v2.y);
66 return LessF(v1.x, v2.x);
82 using ProjectionTable = MxVector<uint32_t>;
83 using WeightList = MxHashMap<size_t, size_t>;
87 ProjectionTable projection;
91 MxVector<WeightList> weights;
99 size_t CollapseDublicate(MxMap<Vector3, size_t, Vector3Cmp>& vertexMapping,
size_t f);
104 void PrepareIndexData(
float threshold);
117 MeshData CreateObject(
float threshold);
Definition: MeshData.h:48
Definition: LODGenerator.h:75
Definition: LODGenerator.h:41
static float Threshold
Definition: LODGenerator.h:46
Definition: Application.cpp:49