Ejemplo n.º 1
0
 private void Cylinder()
 {
     Cylinder c = new Cylinder();
     c.Transformation = Transformation.ScaleBy(50, 50, 50);
     c.SetColor(0, 1.0f, 1.0f);
     c.Name = "Blue Cylinder";
     AddPrimitive(c);
 }
Ejemplo n.º 2
0
 public void SetCylinder(Cylinder cylinder)
 {
     this.cylinder = cylinder;
     this.cylinder.primitiveUpdated += OnCylinderUpdated;
     UpdateUIFromSphere();
 }