Etterna
0.74.4
Loading...
Searching...
No Matches
src
RageUtil
Graphics
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
10
class
RageCompiledGeometry
;
11
12
class
RageModelGeometry
13
{
14
public
:
15
RageModelGeometry
();
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;
27
RageCompiledGeometry
*
28
m_pCompiledGeometry;
// video memory copy of geometry shared by all meshes
29
30
RageVector3
m_vMins, m_vMaxs;
31
};
32
33
#endif
RageCompiledGeometry
Definition
RageDisplay.h:34
RageModelGeometry
Definition
RageModelGeometry.h:13
RageVector3
Definition
RageTypes.h:172
Generated by
1.9.8