voxelman ~master (2022-02-22T07:47:20.6908917)
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