examples
examples copied to clipboard
Examples of idiomatic Odin code
The default distribution of raylib (at https://www.raylib.com/) contains a large number of examples written in C. I translated / four of these into Odin code which utilizes / shows example...
- [x] Have you added the example to the CI at `.github/workflows/check.yml`?
Make suggestions of examples you think are missing by adding a comment to this issue. The more specific you are, the better. I will convert those items that I think...
Checklist before submitting: - [x] This example has been added to `.github/workflows/check.yml` (for automatic testing) - [x] This example compiles cleanly with flags `-vet -strict-style -vet-tabs -disallow-do -warnings-as-errors` - [x]...
Something about how most C bindings would work fine with parameters of type `^T`, but `[^]T` signals 'arrayness'. Perhaps something about how returning a multi-pointer from a C procedure can...
Closes #84 - [x] This example has been added to `.github/workflows/check.yml` (for automatic testing) - [x] This example compiles cleanly with flags `-vet -strict-style -vet-tabs -disallow-do -warnings-as-errors` - [x] This...
The orca api has been updated with a new ui system. The ported (from https://github.com/orca-app/orca/tree/main/samples) examples need to updated.
Showcase a simple but idiomatic use case for thread pools with comments about what everything does.
A program in Odin that shows how to make a native Win32 program with Win32 buttons and all that.