summaryrefslogtreecommitdiff
path: root/game/vehicles/railVehicleClass.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-01-13 19:45:54 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2024-01-13 19:45:54 +0000
commit8566e63b26f9e7ee809c03394743a0576c499378 (patch)
treecdcef5b698a224003ba54507dc24cbb27a57cbbe /game/vehicles/railVehicleClass.cpp
parentAdd glContainer::at override to update a single item (diff)
downloadilt-8566e63b26f9e7ee809c03394743a0576c499378.tar.bz2
ilt-8566e63b26f9e7ee809c03394743a0576c499378.tar.xz
ilt-8566e63b26f9e7ee809c03394743a0576c499378.zip
We only need 3x3 matrix for model rotation spec
Diffstat (limited to 'game/vehicles/railVehicleClass.cpp')
-rw-r--r--game/vehicles/railVehicleClass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/game/vehicles/railVehicleClass.cpp b/game/vehicles/railVehicleClass.cpp
index 3ca42db..5fd7580 100644
--- a/game/vehicles/railVehicleClass.cpp
+++ b/game/vehicles/railVehicleClass.cpp
@@ -43,7 +43,7 @@ RailVehicleClass::postLoad()
bogies.back()
->configureVAO(instancesBogiesVAO.back())
.addAttribs<LocationVertex, &LocationVertex::back, &LocationVertex::backPos>(instances.bufferName(), 1);
- static_assert(sizeof(LocationVertex) == 228UL);
+ static_assert(sizeof(LocationVertex) == 144UL);
}
void