I want to rotate a vector around a given axis and I am looking for the most convenient way to do this.
Coming from OpneGL and GLM I expected the Vec3 class to have a rotate function, taking a rotation axis and an angle as arguments, but I couldn’t find anything like that in the API.
The best way to rotate a vector, that I can currently think of, is by implementing my own function, but I’d really like to avoid that. Especially if there is already an easier way to do this in Panda.
So is there anything like a vector rotate function?