Ensure Dist/SqrDist funcs inline + DistVec4 + SqrDistVec4

This commit is contained in:
bloeys
2021-11-05 06:08:07 +04:00
parent 0bf7a06315
commit 4a7e66c0b9
4 changed files with 67 additions and 38 deletions

View File

@ -1,2 +1,8 @@
# gglm
An OpenGL focused Go mathematics inspired by the C++ glm (OpenGL Mathematics) library
## Notes
You can check compiler inlining decisions using `go run -gcflags "-m" .`. Some functions look a bit weird compared to similar ones
because we are trying to reduce function complexity so the compiler inlines.