Example #1
0
 public DebuggerProxy(angle a)
 {
     radians = (float)a.radians;
 }
Example #2
0
 /// <summary>Construct a new set of coordinates.</summary>
 public coordinates(double r, double theta)
 {
     this.r     = r;
     this.theta = new angle(theta);
 }
Example #3
0
 /// <summary>Construct a new set of coordinates.</summary>
 public coordinates(double r, angle theta)
 {
     this.r     = r;
     this.theta = theta;
 }
Example #4
0
 /// <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);
 }