Skip to content

Commit 42cc35e

Browse files
committed
docs: fix english mistakes
1 parent 68471c8 commit 42cc35e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/game/systems/collision-system.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ namespace gameplay {
252252
auto* collider = entity->getComponent<ColliderComponent>();
253253
if (!collider) return;
254254

255-
// Create or reuse collision shape based on colldier data
255+
// Create or reuse collision shape based on collider data
256256
btCollisionShape* shape = nullptr;
257257

258258
// Shape_r_h_Scale_x_y_z
@@ -316,7 +316,7 @@ namespace gameplay {
316316
if (ownedShapes[shape] == 0) {
317317
ownedShapes.erase(shape);
318318

319-
// Erase it form the cache
319+
// Erase it from the cache
320320
for (auto it = shapesCache.begin(); it != shapesCache.end(); ++it) {
321321
if (it->second == shape) {
322322
shapesCache.erase(it);

0 commit comments

Comments
 (0)