This commit is contained in:
thedaneeffect committed 2023-01-07 20:15:43 -05:00
1 parent ed6390f148
commit 2e7e22aced
55 files changed
+9627 -9613

No files matched your search

+2 -2
View File
@@ -1599,8 +1599,8 @@ public class Scene {
SceneLoc farthest = locBuffer[farthestIndex];
farthest.cycle = cycle;
if (!occluded(occludeLevel, farthest.minSceneTileX, farthest.maxSceneTileX, farthest.minSceneTileZ, farthest.maxSceneTileZ, farthest.entity.minY)) {
farthest.entity.draw(farthest.yaw, sinEyePitch, cosEyePitch, sinEyeYaw, cosEyeYaw, farthest.x - eyeX, farthest.y - eyeY, farthest.z - eyeZ, farthest.bitset);
if (!occluded(occludeLevel, farthest.minSceneTileX, farthest.maxSceneTileX, farthest.minSceneTileZ, farthest.maxSceneTileZ, farthest.entity.minY)) {
farthest.entity.draw(farthest.yaw, sinEyePitch, cosEyePitch, sinEyeYaw, cosEyeYaw, farthest.x - eyeX, farthest.y - eyeY, farthest.z - eyeZ, farthest.bitset);
}
for (int x = farthest.minSceneTileX; x <= farthest.maxSceneTileX; x++) {