Esempio n. 1
0
        private void DrawShape()
        {
            switch (_shape)
            {
            case Shape.SPHERE:
                Raylib.DrawSphere(new System.Numerics.Vector3(WorldPosition.X, WorldPosition.Y, WorldPosition.Z), 4, _rayColor);
                break;

            case Shape.CUBE:
                Raylib.DrawCube(new System.Numerics.Vector3(WorldPosition.X, WorldPosition.Y, WorldPosition.Z), 9, 2, 2, _rayColor);
                break;
            }
        }