From what I understand, quaternions are a way to represent a rotation
In this formula, n is the axis of rotation and theta is the angle. So if I'm trying to represent the following rotation

The quaternion, q, would be [0, 0, sin(pi/4), cos(pi/4)]
But why would -q be the same as q? Since we are taking the negative of q, the axis of rotation and angle are flipped, so wouldn't it look something like this?

