1
0
mirror of https://github.com/ncblakely/GiantsTools synced 2024-11-23 14:45:37 +01:00
GiantsTools/Plugins/imp_gbs/Gb2Data.h

23 lines
347 B
C
Raw Normal View History

2022-09-17 02:54:10 +02:00
#pragma once
#define GB2_VERSION 0xaa0100ab
struct SingleObjectData
{
std::vector<P3D> verts;
std::vector<unsigned short> tris;
int ntris{};
std::vector<VertRGB> vertrgb;
int nverts{};
std::vector<UV> vertuv;
std::string name;
std::string texname;
};
struct Gb2Data
{
void Read(FILE* file);
std::vector<SingleObjectData> objdata;
};