Xkonti / govec

Go library providing 2D and 3D vector operations
MIT License
6 stars 7 forks source link

Optimize conversions from radians to degrees #30

Closed Xkonti closed 1 year ago

Xkonti commented 1 year ago

The conversion from radians to degrees is widespread throughout the library. It would be useful to optimize it by precalculating the conversion factor (180 / Pi).