bitshifter / glam-rs

A simple and fast linear algebra library for games and graphics
Apache License 2.0
1.46k stars 145 forks source link

Any ambitions to implement static comma vectors? #519

Closed D3lta-2-1 closed 1 month ago

D3lta-2-1 commented 1 month ago

Static point vectors would be really handy (thanks to the “Fixed” crate). They're not native types, but they implement all the features needed for arithmetic. Can you consider this as an optional feature for Glam ?

Fixed: https://crates.io/crates/fixed

bitshifter commented 1 month ago

Interesting crate. Realistically I don't have the time to commit to doing that. Even accepting it as a patch might be a bit too much of a commitment given fixed point is not something I have any experience with so addressing any issues would be challenging.

If someone wanted to give it a go I can help support the effort. It would probably make more sense to be a separate crate anyway but perhaps the glam code generator could be made more shareable for such a task.