Rot.mul constructor

Rot.mul(
  1. Rot q,
  2. Rot r
)

Implementation

Rot.mul(Rot q, Rot r)
    : this(
        sin: q.sin * r.cos + q.cos * r.sin,
        cos: q.cos * r.cos - q.sin * r.sin,
      );