Closed jmiskovic closed 3 years ago
Vector rotation had wrong return type specified and it was not obvious that input vector is modified in place.
The quat:set(angle, vec3) variant is not implemented. While it could be added it's also not hard to do quat:set(angle, vec3:unpack()).
quat:set(angle, vec3)
quat:set(angle, vec3:unpack())
Thanks
Vector rotation had wrong return type specified and it was not obvious that input vector is modified in place.
The
quat:set(angle, vec3)
variant is not implemented. While it could be added it's also not hard to doquat:set(angle, vec3:unpack())
.