Before you ask, no, this isn't for homework. It's for my game.
I've been trying to make an equation for the past hour or so probably and I haven't had any luck. I even tried asking several of my steam friends but I've had no luck. It's pretty difficult to make, but I'm pretty sure that its possible. I came to the forums hoping someone would be able to make it.
The equation needs to be arranged as: Z = X + Y + or * other stuff.
It needs to work for the sets: (1,-1,180), (-1,-1,90), (-1,1,0), (1,1,-90) where (X,Y,Z).
If you want me to elaborate, just ask.