1.0.2 • Published 10 years ago
rotate-vector-about-axis v1.0.2
rotate-vector-about-axis
A helper module that allows you to rotate a gl-vec3 about an
arbitrary axis(and not only the x-, y- and z-axes).
Usage
rotateVectorAboutAxis(v, axis, angle)
This function returns the vector v rotated angle radians about the axis
axis, where v and axis are both of the type gl-vec3.
