oden/third-party/vendor/metal/examples/circle
2024-03-08 11:03:01 -08:00
..
main.rs Vendor things 2024-03-08 11:03:01 -08:00
README.md Vendor things 2024-03-08 11:03:01 -08:00
screenshot.png Vendor things 2024-03-08 11:03:01 -08:00
shaders.metal Vendor things 2024-03-08 11:03:01 -08:00
shaders.metallib Vendor things 2024-03-08 11:03:01 -08:00

circle

Renders a circle in a window. As metal primitive types are only limited to point, line and triangle shape, this example shows how we can form complex structures out of primitive types.

Screenshot of the final render

To Run

cargo run --example circle