cgmath/README.md

37 lines
1.2 KiB
Markdown
Raw Normal View History

# Lmath-rs
2012-11-01 05:58:36 +00:00
Lmath is generic linear algebra library for Rust. There is still much to do, unit tests to write, bugs to fix, and performance enhancements to make. Help is much appreciated, so please don't hesitate to send me a pull request.
2012-09-07 10:48:47 +00:00
## Current issues
Some of the trait bounds are currently very brittle and verbose. For example you may see implementations like the following:
pub impl<T:Copy Num NumCast Trig Exp Extent Ord FuzzyEq> Quat<T>: Quaternion<T> { ... }
Ick! Luckily this will be largely eliminated with trait inheritance which will be coming to Rust in the future. That will mean that the above Quaternion implementation would become something like:
pub impl<T:FloatExt> Quat<T>: Quaternion<T> { ... }
2012-09-07 11:09:19 +00:00
## Todo:
- ~~Matrix inversion~~
2012-11-08 02:14:50 +00:00
- ~~Matrix rotation~~
- ~~Angle types (degrees/radians)~~
2012-11-08 02:09:25 +00:00
- N x M matrices
- Operator Overloading
- Implement component-wise functions for vectors
2012-11-01 05:58:36 +00:00
- Euler and axial rotations
- Performance improvements
- Increase unit test coverage
- Improve documentation
2012-11-08 02:14:50 +00:00
- ~~Publish on Cargo Central~~
2012-11-08 02:09:25 +00:00
- Swizzle functions
Dependant on rust/master:
- Implement trait inheritance
- Make use of static functions for constants and constructors
2012-09-07 10:48:47 +00:00
~B☼