copy method

Quaternion copy(
  1. Quaternion quaternion
)

Implementation

Quaternion copy(Quaternion quaternion) {
  _x = quaternion.x;
  _y = quaternion.y;
  _z = quaternion.z;
  _w = quaternion.w;

  onChangeCallback();

  return this;
}