summaryrefslogtreecommitdiff
path: root/common/shaders/math
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-02-21 07:19:57 +0100
committerskal <pascal.massimino@gmail.com>2026-02-21 07:19:57 +0100
commit1b2e69b25f2a9d297a87b71d25dcbb575539376b (patch)
tree249d7ee92bca7db32328ff580a57703955682e9d /common/shaders/math
parenteb438061b1ca0ef020e2ae7e898e99c8bfa179b3 (diff)
feat(math): Add vec3::rotate methods for quaternion and axis-angle rotation
Adds two convenient methods to the struct: - : Rotates the vector by a given quaternion. - : Rotates the vector around a given axis by an angle in radians. These functions provide a more intuitive and streamlined syntax for vector rotation, improving code readability and usability.
Diffstat (limited to 'common/shaders/math')
0 files changed, 0 insertions, 0 deletions