Example #1
0
        public CrossRing3D(GraphicsDevice g, Matrix Projection)
        {
            RingX = new Ring3D(g, Projection, Color.Blue);
            RingX.Scale(new Vector3(10f, 10f, 10f));
            RingX.SuperTransform();

            RingY = new Ring3D(g, Projection, Color.Yellow);
            RingY.Scale(new Vector3(10f, 10f, 10f));
            RingY.Rotate(0f, 0f, MathHelper.ToRadians(90f));
            RingY.SuperTransform();

            RingZ = new Ring3D(g, Projection, Color.Red);
            RingZ.Scale(new Vector3(10f, 10f, 10f));
            RingZ.Rotate(MathHelper.ToRadians(90f), MathHelper.ToRadians(90f), 0f);
            RingZ.SuperTransform();
        }
Example #2
0
 public void UnSelectRing()
 {
     SelectedRing = null;
     ResetRingsColors();
 }
Example #3
0
 public void SelectRingZ()
 {
     SelectedRing = RingZ;
     ResetRingsColors();
 }