greggman / wgpu-matrix

Fast WebGPU 3d math library
https://wgpu-matrix.org
MIT License
298 stars 13 forks source link

Fix: magnitude calculation issue in vec2 and vec3 angle functions #28

Closed JacksonO123 closed 5 months ago

JacksonO123 commented 5 months ago

The vec2 and vec3 angle functions don't use vector b for magnitude calculation.