- rewrote the model storage code.

Using proper C++ containers now.
This commit is contained in:
Christoph Oelckers 2022-09-30 16:25:21 +02:00
parent 8bc34f3dac
commit a4dd5bb4ce
29 changed files with 401 additions and 1374 deletions

View file

@ -76,7 +76,7 @@ static voxmodel_t* voxload(int lumpnum)
voxmodel_t* vm = new voxmodel_t;
*vm = {};
auto pivot = voxel->Mips[0].Pivot;
vm->mdnum = 1; //VOXel model id
//vm->mdnum = 1; //VOXel model id
vm->scale = vm->bscale = 1.f;
vm->piv.X = float(pivot.X);
vm->piv.Y = float(pivot.Y);