Esempio n. 1
0
 /// <summary>
 /// Renders a sphere.
 /// </summary>
 /// <param name="sphere">The sphere</param>
 /// <param name="segments">The count of lines in circles of sphere.</param>
 public void AddSphere(Sphere sphere, int segments = 32, bool solid = false, double lineThickness = 0)
 {
     AddSphere(Matrix4.FromTranslate(sphere.Origin), sphere.Radius, segments, solid, lineThickness);
 }
Esempio n. 2
0
 public GetObjectsInSpaceItem(CastTypeEnum castType, Metadata.TypeInfo selectedTypeOnly, bool visibleOnly, Sphere sphere)
 {
     this.CastType         = castType;
     this.SelectedTypeOnly = selectedTypeOnly;
     this.VisibleOnly      = visibleOnly;
     this.Sphere           = sphere;
 }