cgmath
cgmath copied to clipboard
A linear algebra and mathematics library for computer graphics.
@cmr has expressed concerns on #rust-gamedev that the API is confusing, especially in regards to transformations. He suggested an API closer to that of [GLM](http://glm.g-truc.net). Of course that would be...
This is a _huge_ task, but I think the long term benefits are worth it. It would be helpful if we added some simd support for some operators. We can...
Hi the crates.io version appears to have been lacking updates for 2+ years by now. Why is that?
Hello, I noticed that there was no method to normalize a vector where the zero vector maps to itself. I looked at the issues and found https://github.com/rustgd/cgmath/issues/450. I thought I...
I see that in version 0.5.0 frustum extraction was removed. This is something that's really fiddly to get right (It took me an embarrassing amount of time to deal with...
I'm interested in using a pow/exponent function on the Quaternion type to concisely represent repeated rotations. For quaternions specifically, I found an [algorithm for this](https://math.stackexchange.com/a/939288) on the Mathematics StackExchange. However,...
I would like to remove trait implementations on foreign types from encase for the reasons listed in https://github.com/teoxoy/encase/issues/94. They are currently hosted here: https://github.com/teoxoy/encase/blob/fcc83d706f4a51bfbe22c9901973f1c2fa806526/src/impls/cgmath.rs Before releasing a v0.12 with all...
I caught this because I had the following code: ``` ... assert!(mat.is_invertible()); self.clip_to_screen = mat.invert().unwrap().into(); ... ``` The assertion fails. But removing the assertion makes it so that the code...