1
0
mirror of https://github.com/ncblakely/GiantsTools synced 2024-11-21 21:55:38 +01:00
GiantsTools/Plugins/imp_gbs/Gb2Data.h
2022-09-16 17:57:19 -07:00

23 lines
347 B
C++

#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;
};