Natasha England-Elbro
12d62b3a41
fix: uneeded usages of transmute
11 months ago
Natasha England-Elbro
057ec9805b
chore: downgrade glam version to slightly older
11 months ago
Natasha England-Elbro
4eafa19f44
fix: warning and docs
11 months ago
Natasha England-Elbro
3d2a53d133
feat: glam support
11 months ago
Natasha England-Elbro
34532ae6b9
feat: add helpful constructors to matrix4
11 months ago
Natasha England-Elbro
97a1d12dda
feat: improve uniform API and rewrite Matrix API
11 months ago
Natasha England-Elbro
44ed48d2eb
feat: API for IVec
11 months ago
Ian Chamberlain
f217e36110
Merge pull request #40 from rust3ds/docs/icons
...
Pin docs to known good nightly
1 year ago
Ian Chamberlain
63349bbb13
Don't try to publish on PR
1 year ago
Ian Chamberlain
6ef7d17be3
Pin docs to known good nightly
...
Also run on pull requests just for double checking
1 year ago
Ian Chamberlain
0e7cbc0bdb
Merge pull request #39 from rust3ds/docs/icons
...
Add favicons/icons to rustdoc
1 year ago
Ian Chamberlain
ce54649014
Add favicons/icons to rustdoc
1 year ago
Ian Chamberlain
b02384fc33
Merge pull request #33 from rust3ds/feature/texenv
1 year ago
Ian Chamberlain
31272895d7
Fixup right-handed coordinates and projection API
...
Since it's a builder, we should really consume self and return Self
instead of using &mut self. This makes it easier to convert into the
final matrix at the end of building.
1 year ago
Ian Chamberlain
0fbd4418d8
Minor cleanups
1 year ago
Ian Chamberlain
30964ba57a
Build fix for libctru 2.2.x
1 year ago
Ian Chamberlain
c47c5a93eb
Clean up texenv API a bit and add some docs
1 year ago
Ian Chamberlain
0e02f90442
Initial texenv implementation
1 year ago
Ian Chamberlain
d2b65c8ff1
Add safe wrapper for C3D_BindProgram
1 year ago
Ian Chamberlain
ffb8d70e21
Merge pull request #32 from rust3ds/docs/alias-and-examples
...
Add a bunch of doc aliases for unsafe APIs
1 year ago
Ian Chamberlain
1fe11ce5de
Add a bunch of doc aliases for unsafe APIs
1 year ago
Ian Chamberlain
c56c4cdfed
Merge pull request #31 from rust3ds/feature/gh-pages-docs
...
More github pages improvements
1 year ago
Ian Chamberlain
30c0c72086
Try a different theme and fix build failure
1 year ago
Ian Chamberlain
4f0b06c0a8
Add default github pages config plus crate docs
1 year ago
Ian Chamberlain
041cf47524
Add some basic READMEs and licenses for macros
1 year ago
Ian Chamberlain
593ba8e62b
Merge pull request #30 from rust3ds/feature/gh-pages-docs
...
Fix docs publish issues
1 year ago
Ian Chamberlain
e9464fe0bc
Add default landing page for Pages
1 year ago
Ian Chamberlain
ba1d357148
Fix file permissions before upload
1 year ago
Ian Chamberlain
1216a78ea7
Try specifying an environment
1 year ago
Ian Chamberlain
ce3c8a0508
Use a separate deploy job for github pages
1 year ago
Ian Chamberlain
02701e7770
Add write permissions to token for pages
1 year ago
Ian Chamberlain
2da7285b7e
Merge pull request #29 from rust3ds/feature/gh-pages-docs
...
First pass of generating docs to github pages
1 year ago
Ian Chamberlain
c4ae496e57
Merge pull request #28 from rust3ds/feature/more-math
...
More math types and operator overloads
1 year ago
Ian Chamberlain
599e4da4f1
Update to actions/checkout@v4
1 year ago
Ian Chamberlain
52d578ed03
Use newer "upload" workflow for GH pages
1 year ago
Ian Chamberlain
e1bba068d7
Fix normalize doctests to use proper math
1 year ago
Ian Chamberlain
e0a4eb69d9
First pass of generating docs to github pages
1 year ago
Ian Chamberlain
fdbd17b218
Link shim-3ds for `test --lib`
1 year ago
Ian Chamberlain
3174e66e7e
Swap to `approx` for comparisons
...
Hide this impl behind a feature, which is always enabled for testing but
disabled by default for downstream crates. This feels a bit tidier to me.
1 year ago
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
4cc9a649fc
More fixes for debug print + matrix equality
1 year ago
Ian Chamberlain
8b7e8fe71b
Refactor matrix into new module
...
Fix up a couple test bugs and do some other refactor / cleanup
1 year ago
Ian Chamberlain
e2abfa300a
Implement more matrix operations
...
Also simplify FVec operations since it's a Copy type, but keep using
references for Matrix implementations. Use type-safe matrix multiplication
with other matrices and vectors.
1 year ago
Ian Chamberlain
4e0fc5a409
Define matrix as MxN with const generics
1 year ago
Ian Chamberlain
8cd28b7ca5
Use float-cmp for nicer assertions
1 year ago
Ian Chamberlain
163a42cc47
Fixup some mistaken API usage and tests
1 year ago
Ian Chamberlain
1a67ba0d00
Run CI against non-main branches as well
1 year ago
Ian Chamberlain
a120178a6c
Implement FVec types + operators
1 year ago
Ian Chamberlain
6ce6c96c79
Merge pull request #27 from rust3ds/feature/safe-math-wrappers
...
Start porting <c3d/maths.h>, vectors and matrices
1 year ago
Ian Chamberlain
65941f671c
Major refactor of projection API
...
Finally, something that I don't think totally sucks. Pick some sane
defaults for some fields, and use generics to split between
orthographic and perspective implementations. It's still not perfect but
I think this looks a lot more ergonomic to use vs what I had before (and
compared to the C APIs).
1 year ago