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