Ian Chamberlain
f770f504b0
Add approximate equal impls and tests
...
More doctests instead of libtests.
For now, just FVec4, but FVec4 and matrices coming next.
1 year ago
Ian Chamberlain
8cd28b7ca5
Use float-cmp for nicer assertions
1 year ago
Ian Chamberlain
a06dc14a86
Actually use test_runner::run_gdb (I forgor)
1 year ago
Ian Chamberlain
4752c65f41
Rename to citro3d-macros
...
Export as pub mod macros, add tests, and refactor error handling a bit
to make the logic simpler.
1 year ago
Ian Chamberlain
7d5cd29c5e
Add pica200::include_shader macro using picasso
1 year ago
Andrea Ciliberti
0ed4ec11a9
Fix licensing
2 years ago
Ian Chamberlain
824f817090
Update old repo references to rust3ds instead
2 years ago
Ian Chamberlain
894eb66806
Update ctru-rs APIs based on split screen PR
2 years ago
Ian Chamberlain
340a38489c
Update citro3d to use upstream ctru_sys types
2 years ago
Ian Chamberlain
6ba85149d8
Use bytemuck instead of incorrect align_to
...
Std docs say that prorgams should not rely on `align_to` to return empty
prefix/suffix for correctess, only performance. `bytemuck` on the other
hand deals with alignment for correctness so let's use that.
3 years ago
Ian Chamberlain
e5e2e63586
port frame begin/end to safe rust
3 years ago
Ian Chamberlain
83b613684a
First pass at some safe wrappers for render target
3 years ago
Ian Chamberlain
484e971dd5
Add compiling example using -sys bindings
...
Fix some more issues with bindings and add README
3 years ago