Cargo Features

[dependencies]
hronn = { version = "0.5.2", default-features = false, features = ["export_unit_tests", "debug_probe_code", "glam", "cgmath", "nalgebra", "euclid"] }
export_unit_tests

this is a workaround, enabling integration tests to run unit tests: making it possible to debug them

debug_probe_code

exposes the probe functions to 'pub' for debugging

Affects hronn::debug_cone_to_edge_collision, hronn::debug_ball_end_to_edge_collision, hronn::debug_square_end_to_edge_collision, hronn::xy_distance_to_line_squared

default = glam

The glam feature is set by default whenever hronn is added without default-features = false somewhere in the dependency tree.

glam default

Enables krakel, glam of linestring

cgmath

Enables cgmath of krakel and linestring

nalgebra

Enables nalgebra of krakel and linestring

euclid

Enables euclid of krakel and linestring