summaryrefslogtreecommitdiffstats
path: root/third_party/rust/metal/examples/circle/README.md
blob: f51853ac3892ad1703fc3e82a0d60ab4682905e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
## 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](./screenshot.png)

## To Run

```
cargo run --example circle
```