diff options
Diffstat (limited to 'third_party/rust/metal/examples/circle/README.md')
-rw-r--r-- | third_party/rust/metal/examples/circle/README.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/third_party/rust/metal/examples/circle/README.md b/third_party/rust/metal/examples/circle/README.md new file mode 100644 index 0000000000..f51853ac38 --- /dev/null +++ b/third_party/rust/metal/examples/circle/README.md @@ -0,0 +1,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 +``` |