├── .github └── dependabot.yml ├── .gitignore ├── Cargo.toml ├── LICENSE ├── README.md ├── benches └── benchmarks.rs ├── examples ├── basic_shapes.rs ├── bresenham.rs ├── bresenham_3d.rs ├── bresenham_circle.rs ├── image.rs ├── midpoint.rs ├── scale_up.rs ├── steps.rs ├── supercover.rs ├── walk_grid.rs ├── walk_voxels.rs └── xiaolin_wu.rs └── src ├── bresenham.rs ├── bresenham_3d.rs ├── bresenham_circle.rs ├── fuzzing.rs ├── grid_walking.rs ├── lib.rs ├── midpoint.rs ├── octant.rs ├── steps.rs ├── walk_voxels.rs └── xiaolin_wu.rs /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/expenses/line_drawing/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | **/*.rs.bk 3 | Cargo.lock 4 | example.png -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/expenses/line_drawing/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/expenses/line_drawing/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/expenses/line_drawing/HEAD/README.md -------------------------------------------------------------------------------- /benches/benchmarks.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/expenses/line_drawing/HEAD/benches/benchmarks.rs -------------------------------------------------------------------------------- /examples/basic_shapes.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/expenses/line_drawing/HEAD/examples/basic_shapes.rs -------------------------------------------------------------------------------- /examples/bresenham.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/expenses/line_drawing/HEAD/examples/bresenham.rs -------------------------------------------------------------------------------- /examples/bresenham_3d.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/expenses/line_drawing/HEAD/examples/bresenham_3d.rs -------------------------------------------------------------------------------- /examples/bresenham_circle.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/expenses/line_drawing/HEAD/examples/bresenham_circle.rs -------------------------------------------------------------------------------- /examples/image.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/expenses/line_drawing/HEAD/examples/image.rs -------------------------------------------------------------------------------- /examples/midpoint.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/expenses/line_drawing/HEAD/examples/midpoint.rs -------------------------------------------------------------------------------- /examples/scale_up.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/expenses/line_drawing/HEAD/examples/scale_up.rs -------------------------------------------------------------------------------- /examples/steps.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/expenses/line_drawing/HEAD/examples/steps.rs -------------------------------------------------------------------------------- /examples/supercover.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/expenses/line_drawing/HEAD/examples/supercover.rs -------------------------------------------------------------------------------- /examples/walk_grid.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/expenses/line_drawing/HEAD/examples/walk_grid.rs -------------------------------------------------------------------------------- /examples/walk_voxels.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/expenses/line_drawing/HEAD/examples/walk_voxels.rs -------------------------------------------------------------------------------- /examples/xiaolin_wu.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/expenses/line_drawing/HEAD/examples/xiaolin_wu.rs -------------------------------------------------------------------------------- /src/bresenham.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/expenses/line_drawing/HEAD/src/bresenham.rs -------------------------------------------------------------------------------- /src/bresenham_3d.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/expenses/line_drawing/HEAD/src/bresenham_3d.rs -------------------------------------------------------------------------------- /src/bresenham_circle.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/expenses/line_drawing/HEAD/src/bresenham_circle.rs -------------------------------------------------------------------------------- /src/fuzzing.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/expenses/line_drawing/HEAD/src/fuzzing.rs -------------------------------------------------------------------------------- /src/grid_walking.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/expenses/line_drawing/HEAD/src/grid_walking.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/expenses/line_drawing/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/midpoint.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/expenses/line_drawing/HEAD/src/midpoint.rs -------------------------------------------------------------------------------- /src/octant.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/expenses/line_drawing/HEAD/src/octant.rs -------------------------------------------------------------------------------- /src/steps.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/expenses/line_drawing/HEAD/src/steps.rs -------------------------------------------------------------------------------- /src/walk_voxels.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/expenses/line_drawing/HEAD/src/walk_voxels.rs -------------------------------------------------------------------------------- /src/xiaolin_wu.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/expenses/line_drawing/HEAD/src/xiaolin_wu.rs --------------------------------------------------------------------------------