rustgd / cgmath

A linear algebra and mathematics library for computer graphics.
https://docs.rs/cgmath
Apache License 2.0
1.12k stars 155 forks source link

Re-add Frustum extraction #554

Open john01dav opened 6 months ago

john01dav commented 6 months ago

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 several such bugs in this code), it's identical across many computer graphics uses, is mathematical in nature, and cgmath provides such things.

As such, I think that it would be good if this were re-added to cgmath.

It was originally removed in #244 because it was not complete, but even looking at what I see in the old code it has everything that I need. So, even if it is not fully complete, it would be best to have it there at all. Furthermore, the new library that was created to contain this is no longer maintained and the github account that volunteered to maintain it no longer exists.