mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-13 23:43:44 +00:00
Directory Structure [step 1]: moving files
working on #672 NOTE: This commit can't be compiled!!
This commit is contained in:
30
src/tools/mesh_extractor/Model.h
Normal file
30
src/tools/mesh_extractor/Model.h
Normal file
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
* Copyright (C)
|
||||
*
|
||||
* Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/>
|
||||
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
|
||||
*/
|
||||
|
||||
#ifndef MODEL_H
|
||||
#define MODEL_H
|
||||
#include <vector>
|
||||
#include "Utils.h"
|
||||
|
||||
class Model
|
||||
{
|
||||
public:
|
||||
Model(std::string path);
|
||||
~Model();
|
||||
|
||||
void ReadVertices();
|
||||
void ReadBoundingTriangles();
|
||||
void ReadBoundingNormals();
|
||||
ModelHeader Header;
|
||||
std::vector<Vector3> Vertices;
|
||||
std::vector<Vector3> Normals;
|
||||
std::vector<Triangle<uint16> > Triangles;
|
||||
bool IsCollidable;
|
||||
FILE* Stream;
|
||||
bool IsBad;
|
||||
};
|
||||
#endif
|
||||
Reference in New Issue
Block a user