@mikechambers wrote:
Is there an equivalent to processings’s Vector.heading?
https://processing.org/reference/PVector_heading_.html
which calculates the angle of a vector? (and also a way to create a vector from an angle)? Basically the equivalent of processing vector.fromAngle?
https://processing.org/reference/PVector_fromAngle_.html
I am still using ofVec3f, and I see: getRotatedRad() but its not clear to me if that is the same.
mike
Posts: 5
Participants: 3