pmndrs / maath

🪶 Math helpers for the rest of us
https://maath.pmnd.rs
801 stars 15 forks source link

improvement: addAxis doesn't quite work with a 3D vector ( if you want to add a 4th axis, eg alpha). Make it generic #20

Closed gsimone closed 2 years ago

gsimone commented 2 years ago

https://github.com/pmndrs/maath/blob/9e13b396618c0325d01d6b45774bc1b7d162e742/packages/maath/src/buffer.ts#L39

gsimone commented 2 years ago

Fixed in #21