This commit is contained in:
Starbeamrainbowlabs 2023-01-19 23:30:43 +00:00
parent 8372a12f48
commit 3e123ddc56
No known key found for this signature in database
GPG Key ID: 1BE5172E637709C2

@ -2,6 +2,9 @@
/**
* Rotate a given point around an origin point in 3d space.
* NOTE: This function is not as intuitive as it sounds.
* A whiteboard and a head for mathematics is recommended before using this
* function.
* @source GitHub Copilot
* @warning Not completely tested! Pending a thorough evaluation.
* @param {Vector3} origin The origin point to rotate around