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