There is a point in space described by 3 numbers: x, y, z
There is a rotation angle described by quaternion W, X, Y, Z
You need to rotate the point around the center of coordinates (0,0,0) and get its new coordinates.
How can this be done at all?
For example, if a point has a position of 0.10.0, and the quaternion describes a rotation around the axis by 180 degrees, the output should be 0, -10.0

Mz(180) = ((-1 0 0) (0 -1 0) (0 0 1))and multiply by your vector((0) (10) (0)), it turns out just((0) (-10) (0))- Andrey NOP