xenua
e688e0fda5
fork: update refs
8 months ago
Ian Chamberlain
ce54649014
Add favicons/icons to rustdoc
12 months ago
Ian Chamberlain
0e02f90442
Initial texenv implementation
1 year ago
Ian Chamberlain
041cf47524
Add some basic READMEs and licenses for macros
1 year ago
Ian Chamberlain
fdbd17b218
Link shim-3ds for `test --lib`
1 year ago
Ian Chamberlain
97f4835c17
Include gcc libdir when building
...
Assume devkitARM ships with only a single version, so then find the
first entry matching `${DEVKITARM}/lib/gcc/arm-none-eabi/*/include` and add it
to the -isystem includes.
1 year ago
Ian Chamberlain
b712e8a68f
Generate bindings with build.rs at compile time
...
Effectively:
- Move the previous bindgen script into build.rs
- In lib.rs, include the file generated at build time
- Compile inline statics with devkitARM toolchain
- Remove now-unneeded reimplementations of inline statics
- Use doxygen_rs to clean up the docs of the generated bindings.
Nice! This cleans up the repo a lot and also ensures we are using the
canonical implementations of those inline functions, which should help
prevent mistakes as well.
1 year ago
Ian Chamberlain
e47c414069
Use proper stereo perspective projection
...
Read + use the OS 3D slider value when projecting left+right eyes, and
use a mono perspective projection for the bottom screen.
2 years ago
Andrea Ciliberti
0ed4ec11a9
Fix licensing
2 years ago
Ian Chamberlain
704f6e58b7
First pass of safe buffer info API
2 years ago
Ian Chamberlain
e26d01f782
Don't generate <sys/...> bindings
...
Also fix some minor clippy lints + document the helper script a bit
more.
2 years ago
Ian Chamberlain
894eb66806
Update ctru-rs APIs based on split screen PR
2 years ago
Ian Chamberlain
02a9d40fdb
Use bindgen library to generate bindings
...
This allows us to use a custom callback for marking some types as Copy,
which bindgen otherwise pessimistically assumes cannot.
2 years ago
Ian Chamberlain
a7690e7cdd
Only generate citro3d-specific types/funcs, etc.
2 years ago
Ian Chamberlain
4648c31467
Add inline detach render target fn
2 years ago
Ian Chamberlain
b72495737a
Update bindgen bindings
3 years ago
Ian Chamberlain
395aa29bc1
Inline citro3d-sys functions where needed
...
Add gx.h bindings for some helper macros there.
3 years ago
Ian Chamberlain
5a3fd9d21b
Varios cleanup + simplify example
3 years ago
Ian Chamberlain
1177a32254
Completely remove ctru-sys dep and fix some lints
3 years ago
Ian Chamberlain
484e971dd5
Add compiling example using -sys bindings
...
Fix some more issues with bindings and add README
3 years ago
Ian Chamberlain
8161bd660f
Minor bindings updates
3 years ago
Ian Chamberlain
c648c93493
Add enough functionality for simple tri demo
3 years ago
Ian Chamberlain
2867b74b28
Move citro3d-sys to workspace sub-crate
3 years ago