voxelman v0.6.1 (2016-01-09T15:39:38Z)
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