1 parent 68471c8 commit 42cc35eCopy full SHA for 42cc35e
1 file changed
src/game/systems/collision-system.cpp
@@ -252,7 +252,7 @@ namespace gameplay {
252
auto* collider = entity->getComponent<ColliderComponent>();
253
if (!collider) return;
254
255
- // Create or reuse collision shape based on colldier data
+ // Create or reuse collision shape based on collider data
256
btCollisionShape* shape = nullptr;
257
258
// Shape_r_h_Scale_x_y_z
@@ -316,7 +316,7 @@ namespace gameplay {
316
if (ownedShapes[shape] == 0) {
317
ownedShapes.erase(shape);
318
319
- // Erase it form the cache
+ // Erase it from the cache
320
for (auto it = shapesCache.begin(); it != shapesCache.end(); ++it) {
321
if (it->second == shape) {
322
shapesCache.erase(it);
0 commit comments