21 lines
438 B
C++
21 lines
438 B
C++
#ifndef MODEL_H
|
|
#define MODEL_H
|
|
#include <vector>
|
|
#include "Utils.h"
|
|
|
|
class Model
|
|
{
|
|
public:
|
|
Model(std::string path);
|
|
|
|
void ReadVertices(FILE* stream);
|
|
void ReadBoundingTriangles(FILE* stream);
|
|
void ReadBoundingNormals(FILE* stream);
|
|
ModelHeader Header;
|
|
std::vector<Vector3> Vertices;
|
|
std::vector<Vector3> Normals;
|
|
std::vector<Triangle<uint16> > Triangles;
|
|
bool IsCollidable;
|
|
FILE* Stream;
|
|
};
|
|
#endif |