voxelman.geometry.gridraytrace

Members

Functions

traceRay
bool traceRay(bool delegate(ivec3) isBlockSolid, vec3 startingPosition, vec3 rayDirection, double maxDistance, ivec3 hitPosition, ivec3 hitNormal, Batch batch)

Returns true if block was hit

Variables

drawDebug
enum bool drawDebug;
Undocumented in source.

Meta

Authors

Andrey Penechko.