This commit is contained in:
Starbeamrainbowlabs 2023-01-19 23:30:43 +00:00
parent 8372a12f48
commit 3e123ddc56
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -2,6 +2,9 @@
/** /**
* Rotate a given point around an origin point in 3d space. * 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 * @source GitHub Copilot
* @warning Not completely tested! Pending a thorough evaluation. * @warning Not completely tested! Pending a thorough evaluation.
* @param {Vector3} origin The origin point to rotate around * @param {Vector3} origin The origin point to rotate around