mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-06-06 16:52:35 +00:00
Moved coordinate conversion to BSP creator instead of the BSP linker, and added a console print of the maximum number of objects in a collision leaf.
This commit is contained in:
@@ -23,7 +23,7 @@ namespace BSP
|
||||
BSPVertex& bspVertex = bsp->gfxWorld.vertices.at(vertIdx);
|
||||
GfxPackedWorldVertex* gfxVertex = &vertexBuffer[vertIdx];
|
||||
|
||||
gfxVertex->xyz = BSPUtil::convertToBO2Coords(bspVertex.pos);
|
||||
gfxVertex->xyz = bspVertex.pos;
|
||||
gfxVertex->color.packed = pack32::Vec4PackGfxColor(bspVertex.color.v);
|
||||
gfxVertex->texCoord.packed = pack32::Vec2PackTexCoordsUV(bspVertex.texCoord.v);
|
||||
gfxVertex->normal.packed = pack32::Vec3PackUnitVecThirdBased(bspVertex.normal.v);
|
||||
|
||||
Reference in New Issue
Block a user