2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-11-27 15:02:06 +00:00

chore: fix some minor typos

This commit is contained in:
Jan Laupetin
2025-11-10 21:49:42 +01:00
parent ab8503194f
commit ccafa93fce
3 changed files with 7 additions and 7 deletions

View File

@@ -397,7 +397,7 @@ namespace BSP
nodeVec.emplace_back();
cNode_t node;
node.plane = nullptr; // initalised after the BSP tree has been loaded
node.plane = nullptr; // initialised after the BSP tree has been loaded
node.children[0] = loadBSPNode(clipMap, *tree.node->front);
node.children[1] = loadBSPNode(clipMap, *tree.node->back);
@@ -414,7 +414,7 @@ namespace BSP
for (unsigned int vertIdx = 0; vertIdx < clipMap.vertCount; vertIdx++)
{
vec3_t vertex = clipMap.verts[vertIdx];
// initalise AABB with the first vertex
// initialise AABB with the first vertex
if (vertIdx == 0)
{
worldMins = vertex;

View File

@@ -231,7 +231,7 @@ namespace BSP
gfxWorld.dpvs.smodelDrawInsts = m_memory.Alloc<GfxStaticModelDrawInst>(modelCount);
// visdata is written to by the game
// all visdata is alligned by 128
// all visdata is aligned by 128
const auto alignedModelCount = utils::Align(modelCount, 128u);
gfxWorld.dpvs.smodelVisDataCount = static_cast<unsigned int>(alignedModelCount);
gfxWorld.dpvs.smodelVisData[0] = m_memory.Alloc<char>(alignedModelCount);