not-fl3 / macroquad

Cross-platform game engine in Rust.
Apache License 2.0
3.04k stars 297 forks source link

Implementation of functions to draw cylinders and cones #733

Closed jonmue42 closed 3 weeks ago

jonmue42 commented 3 weeks ago

Adds functions to draw cylinders. Can also be used for cones by setting on of the top or bottom radius to zero.

not-fl3 commented 3 weeks ago

LGTM! Make the CI happy again and I'll merge right away!

jonmue42 commented 3 weeks ago

Alright I ran cargo fmt for the changed models.rs file, so it should pass now. Note: The formatter also complains about something in the shapes.rs file, but I obviously didn't touch that one.

not-fl3 commented 3 weeks ago

Perfect, thanks!