voxelman ~master (2018-10-12T19:51:42Z)
Dub
Repo
traceRay
voxelman
geometry
gridraytrace
Returns true if block was hit
bool
traceRay
(
bool
delegate
(
ivec3
)
isBlockSolid
,
vec3
startingPosition
,
vec3
rayDirection
,
double
maxDistance
,
out
ivec3
hitPosition
,
out
ivec3
hitNormal
,
ref
Batch
batch
)
Meta
Source
See Implementation
voxelman
geometry
gridraytrace
functions
traceRay
variables
drawDebug
Returns true if block was hit