Etterna 0.74.4
Loading...
Searching...
No Matches
RageModelGeometry.h
1/* RageModelGeometry - Stores mesh data. */
2
3#ifndef RAGE_MODEL_GEOMETRY_H
4#define RAGE_MODEL_GEOMETRY_H
5
6#include "Etterna/Actor/Base/ModelTypes.h"
7#include "RageUtil/Misc/RageTypes.h"
8#include <vector>
9
11
13{
14 public:
16 virtual ~RageModelGeometry();
17
18 void LoadMilkshapeAscii(const std::string& sMilkshapeAsciiFile,
19 bool bNeedsNormals);
20 void OptimizeBones();
21 void MergeMeshes(int iFromIndex, int iToIndex);
22 bool HasAnyPerVertexBones() const;
23
24 int m_iRefCount;
25
26 std::vector<msMesh> m_Meshes;
28 m_pCompiledGeometry; // video memory copy of geometry shared by all meshes
29
30 RageVector3 m_vMins, m_vMaxs;
31};
32
33#endif
Definition RageDisplay.h:34
Definition RageModelGeometry.h:13
Definition RageTypes.h:172