Bevy-Rust-GPU / rust-gpu-sdf

Signed distance field library usable on both CPU and GPU.
Apache License 2.0
12 stars 1 forks source link

Fn implementation for SignedDistanceField etc. #5

Closed Shfty closed 1 year ago

Shfty commented 1 year ago

Currently, SignedDistanceFields and SignedDistanceNormals must be implemented on a concrete type, and the blanket implementation on references interferes with a trivial Fn implementation.

Need to amend this such that any function matching the trait method signature can be considered a viable SDF.

Shfty commented 1 year ago

Done.