API Chunk generation was present previously but was broken preventing it's correct use
Breaking Changes:
Renamed
Math/Position objects
Vec3f -> DhApiVec3f
Vec3d -> DhApiVec3d
Vec3i -> DhApiVec3i
Mat4f -> DhApiMat4f
Affected API objects:
Vec3i -> DhApiVec3i
DhApiRaycastResult
DhApiBeforeBufferRenderEvent
DhApiAfterRenderEvent
IDhApiShaderProgram
IDhApiCullingFrustum
Mat4f -> DhApiMat4f
DhApiRenderParam
Removed
IDhApiGpuBuffersConfig
These config values didn't need to be changed by the end users (Note: if James is wrong and these do need to be changed in some edge cases, let him know so the change can be rolled back)
this includes:
gpuUploadMethod
gpuUploadPerMegabyteInMilliseconds
Deprecations:
IDhApiLevelWrapper.getHeight()
This change is done so get min/max heigth are both viable methods
use getMaxHeight() instead
DhApiChunk constructor
This change was due to the old constructor's parameters being in the wrong order (Specifically top and bottom positions being flipped)
use DhApiChunk.create() instead
DhApiTerrainDataPoint constructor
This change was due to the old constructor's parameters being in the wrong order (Specifically top and bottom positions being flipped)
use DhApiTerrainDataPoint.create() instead
EDhApiGpuUploadMethod.BUFFER_MAPPING
Buffer mapping was removed as an option due to memory leaks in the old system and having one system being simpler.
This can be reverted if users determine that buffer mapping is better in some situations.
IDhApiWorldGenerator.isBusy()
The method now has a default implementation but isn't used.
The task queuing logic is now handled internally by DH