Expand description
§trig
The trig module provides primitives and methods for trigonometric operations. Most importantly,
the trig module provides two types: DegreeAngle and RadianAngle which can be used for most trigonometric
operations
§Type coercions
Always remember that RHS is preferred over LHS. Let’s take a look at a couple of cases:
DegreeAngle<T>+RadianAngle<T>=RadianAngle<T>RadianAngle<T>+DegreeAngle<T>=DegreeAngle<T>
Structs§
- Degree
Angle - An angle in degrees
- Radian
Angle - An angle in radians