mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-07-01 06:11:35 +00:00
chore: format everything
This commit is contained in:
@@ -39,7 +39,8 @@ std::optional<AABB> CakeTile::getAABB(Level* level, int x, int y, int z) {
|
||||
float r = 1 / 16.0f;
|
||||
float r2 = (1 + d * 2) / 16.0f;
|
||||
float h = 8 / 16.0f;
|
||||
return AABB{x + r2, static_cast<double>(y), z + r, x + 1 - r, y + h - r, z + 1 - r};
|
||||
return AABB{x + r2, static_cast<double>(y), z + r, x + 1 - r, y + h - r,
|
||||
z + 1 - r};
|
||||
}
|
||||
|
||||
AABB CakeTile::getTileAABB(Level* level, int x, int y, int z) {
|
||||
|
||||
Reference in New Issue
Block a user