Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cshenton/odin-ufbx
`ufbx` Bindings for Odin
https://github.com/cshenton/odin-ufbx
Last synced: 18 days ago
JSON representation
`ufbx` Bindings for Odin
- Host: GitHub
- URL: https://github.com/cshenton/odin-ufbx
- Owner: cshenton
- License: unlicense
- Created: 2023-08-30T07:37:21.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-08-30T11:34:14.000Z (over 1 year ago)
- Last Synced: 2023-08-30T14:37:26.771Z (over 1 year ago)
- Language: Odin
- Size: 921 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-odin - ufbx - ufbx/blob/master/LICENSE) | Gamedev, Assets, 3D | (Bindings / Vendor)
- awesome-odin - ufbx - ufbx/blob/master/LICENSE) | Gamedev, Assets, 3D | (Bindings / Vendor)
README
# `ufbx` Bindings for Odin
- `/ufbx` contains all you need to get going, simply copy it into your project and import
- `/deps` contains the C source files used to build `ufbx.lib` and their license
- `/example` contains a simple example of using the API from Odin## Running the Example
From this directory, simply run `odin run example`. You should see a spinning Suzanne head.
## Compiling `ufbx.c`
On Windows, `ufbx.lib` is produced with:
```powershell
clang -c deps/ufbx.c -o deps/ufbx.obj -target x86_64-pc-windows-msvc -O3
lib /OUT:ufbx/ufbx.lib deps/ufbx.obj
rm deps/ufbx.obj
```Feel free to add builds for other platforms.