dev10110 / Raycast.jl

A lightweight and fast library to perform 3D raycasting

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Raycast

Stable Dev Build Status

Raycast.jl provides a simple but fast 3D raycasting function. It is non-allocating and only uses integer-arithmetic.

using Raycast

p0 = (0,0,0)      # any tuple of integers will work
p1 = (10, 5, -3)  # any tuple of integers will work

prob = BresenhamProblem(p0, p1)
for p in prob
   @show p
end

Installation

] add https://github.com/dev10110/Raycast.jl

Documentation

See the docs for details.

About

A lightweight and fast library to perform 3D raycasting

License:MIT License


Languages

Language:Julia 100.0%