I'm looking for some pointers...
I have a vector in 3D space. I want to be able to manipulate its direction based on input pan and tilt angles... Importantly I'd like to be able to give these angles as absolute (i.e: from "up") or relative (i.e: from the current direction).
I have a working solution, but I suspect there's a more efficient way to do this. I had a stab with Quaternions, but I couldn't get the tilt to behave like it would on a gimble.
Any ideas? 🧮