copy method

Quat copy(
  1. Quat q
)

Copy q to this

Implementation

Quat copy(Quat  q ){
  x = q.x;
  y = q.y;
  z = q.z;
  w = q.w;
  return this;
}