voxelman v0.8.0 (2017-02-03T20:04:39Z)
Dub
Repo
traceRay
voxelman
utils
trace
Returns true if block was hit
bool
traceRay
(
bool
delegate
(
ivec3
)
isBlockSolid
,
vec3
startingPosition
,
vec3
rayDirection
,
double
maxDistance
,
out
vec3
hitPosition
,
out
ivec3
hitNormal
,
ref
Batch
batch
)
Meta
Source
See Implementation
voxelman
utils
trace
functions
traceRay
variables
drawDebug
Returns true if block was hit