Rot.withAngle constructor

Rot.withAngle(
  1. double angle
)

Implementation

Rot.withAngle(double angle)
    : sin = math.sin(angle),
      cos = math.cos(angle);