Skip to content

Commit

Permalink
Merge branch 'stable' into dev
Browse files Browse the repository at this point in the history
# Conflicts:
#	src/main/java/me/cortex/nvidium/managers/RegionManager.java
  • Loading branch information
MCRcortex committed Feb 5, 2024
2 parents 1aa9a35 + 5ce61bc commit fce9754
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ public boolean isRegionVisible(Viewport frustum, int regionId) {
return false;
} else {
//FIXME: should make it use the region data so that the frustum bounds check is more accurate
return frustum.isBoxVisible(region.rx<<7,region.ry<<6, region.rz<<7, 1<<7, 1<<6, 1<<7);
return frustum.isBoxVisible((region.rx<<7)+(1<<6),(region.ry<<6)+(1<<5), (region.rz<<7)+(1<<6), 1<<6, 1<<5, 1<<6);
}
}

Expand Down

0 comments on commit fce9754

Please sign in to comment.