public DebuggerProxy(angle a) { radians = (float)a.radians; }
/// <summary>Construct a new set of coordinates.</summary> public coordinates(double r, double theta) { this.r = r; this.theta = new angle(theta); }
/// <summary>Construct a new set of coordinates.</summary> public coordinates(double r, angle theta) { this.r = r; this.theta = theta; }
/// <summary> /// Construct a new set of coordinates from a world-space vector. /// </summary> public coordinates(double2 v) { this.r = math.length(v); this.theta = new angle(v); }