Function of World
world.raycasts
n lines at once. rays holds six f64 a line (from x, y, z, to x, y, z); out gets one f64 a line: how far along it the first block is that stops it, or -1 for a clear line.
world.raycasts(rays: buffer, out: buffer, n: number)Parameters
raysbufferoutbuffernnumber