Lephisto/src/model_coll_mesh_data.h
Rtch90 1b35d387b9 [Change] Position player in docking bay on undocking. Need to do request
docking clearance, because at the minute repeat docking is not possible.
D:
2017-11-20 22:15:23 +00:00

31 lines
512 B
C++

#pragma once
#include "libs.h"
#include "sbre/sbre.h"
struct coltri_t {
int v1, v2, v3, flags;
};
struct meshinfo_t {
int flags;
int triStart; /* Into triIndices. */
int numTris;
};
class CollMeshSet {
public:
CollMesh* sbreCollMesh;
coltri_t* triIndices;
dTriMeshDataID* meshParts;
meshinfo_t* meshInfo;
int numMeshParts;
CollMeshSet(int sbreModel);
private:
void GetMeshParts(void);
};
CollMeshSet* GetModelCollMeshSet(int sbreModel);
CollMesh* GetModelSBRECollMesh(int sbreModel);