diff options
| author | Mel <einebeere@gmail.com> | 2023-08-06 04:27:07 +0200 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2023-08-06 04:27:07 +0200 |
| commit | 5a1b126f1f6d55226c2b5068d0c17c428fd29ba8 (patch) | |
| tree | 3acc0240cd8dedd0764eeae6df04e134b04584c8 /src/World/Clouds.cpp | |
| parent | e6f5f9e03f673db796f1babb308609ca2576db2f (diff) | |
| download | meowcraft-5a1b126f1f6d55226c2b5068d0c17c428fd29ba8.tar.zst meowcraft-5a1b126f1f6d55226c2b5068d0c17c428fd29ba8.zip | |
Create separate Player entity and add bad collision system
Diffstat (limited to 'src/World/Clouds.cpp')
| -rw-r--r-- | src/World/Clouds.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/World/Clouds.cpp b/src/World/Clouds.cpp index 2567985..b30c0ce 100644 --- a/src/World/Clouds.cpp +++ b/src/World/Clouds.cpp @@ -103,7 +103,7 @@ GFX::Mesh Clouds::create_mesh(const CloudMatrix& cloud_matrix) { if (!neighbors[2]) faces |= FaceSet::Front; if (!neighbors[3]) faces |= FaceSet::Back; - auto aabb = Math::AABB{{x, 0, y}, {x + 1, 1, y + 1}}; + auto aabb = AABB{{x, 0, y}, {x + 1, 1, y + 1}}; auto box = GFX::Util::Primitives::box(aabb, (FaceSet::Value)faces); builder.primitive(box); } |
