I did some more testing and now I am using -Float.MAX_VALUE instead of Float.MIN_VALUE. I am using:
Instead of:
This has fixed my problem. I suggest the wiki to be updated.
Code Select
float minX = Float.MAX_VALUE, minY = Float.MAX_VALUE, minZ = Float.MAX_VALUE, maxX = -Float.MAX_VALUE, maxY = -Float.MAX_VALUE, maxZ = -Float.MAX_VALUE;
Instead of:
Code Select
float minX = Float.MAX_VALUE, minY = Float.MAX_VALUE, minZ = Float.MAX_VALUE, maxX = Float.MIN_VALUE, maxY = Float.MIN_VALUE, maxZ = Float.MIN_VALUE;
This has fixed my problem. I suggest the wiki to be updated.