diff options
| author | nathan <nathansmith@disroot.org> | 2025-12-30 04:11:22 +0000 |
|---|---|---|
| committer | nathan <nathansmith@disroot.org> | 2025-12-30 04:11:22 +0000 |
| commit | e507ecbb95a2c7a1ffb8c13f1bd39433d6c49ba3 (patch) | |
| tree | 72a0acb1c0e008de2b24471e50dcd7b09e609abe /src/entity.c | |
| parent | 91b1c45da05c892a04b6a1daa99b1de89fa1f363 (diff) | |
| download | FindThings-e507ecbb95a2c7a1ffb8c13f1bd39433d6c49ba3.tar.gz FindThings-e507ecbb95a2c7a1ffb8c13f1bd39433d6c49ba3.tar.bz2 FindThings-e507ecbb95a2c7a1ffb8c13f1bd39433d6c49ba3.zip | |
Working on building collision
Diffstat (limited to 'src/entity.c')
| -rw-r--r-- | src/entity.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/entity.c b/src/entity.c index 1d10e4f..4895d9e 100644 --- a/src/entity.c +++ b/src/entity.c @@ -350,7 +350,8 @@ EntityBuilding* createEntityBuilding(Image heightmap) .roofOffset = (Vector3){ widthInWorld / 2.0 - ENTITY_BUILDING_CUBE_SIZE.x / 2.0, ENTITY_BUILDING_CUBE_SIZE.y + TOUCHING_OFFSET, - heightInWorld / 2.0 - ENTITY_BUILDING_CUBE_SIZE.z / 2.0} + heightInWorld / 2.0 - ENTITY_BUILDING_CUBE_SIZE.z / 2.0 + } }; return entityBuilding; |
