rotation property
double
get
rotation
Implementation
double get rotation {
double cosTheta = this[0];
double sinTheta = this[1];
return atan2(sinTheta, cosTheta);
}
double get rotation {
double cosTheta = this[0];
double sinTheta = this[1];
return atan2(sinTheta, cosTheta);
}