setFrom method

void setFrom(
  1. Quaternion source
)

Copy source into this.

Implementation

void setFrom(Quaternion source) {
  final sourceStorage = source._qStorage;
  _qStorage[0] = sourceStorage[0];
  _qStorage[1] = sourceStorage[1];
  _qStorage[2] = sourceStorage[2];
  _qStorage[3] = sourceStorage[3];
}