Пример #1
0
 public Cube(IRenderEngine renderEngine) : base(renderEngine)
 {
     mName = "Cube";
 }
Пример #2
0
 public IShape(IRenderEngine renderEngine)
 {
     mRenderEngine = renderEngine;
 }
Пример #3
0
        //public string name = "Sphere";

        //public OpenGL openGL = new OpenGL();

        //public  void Draw()
        //{
        //    openGL.Render(name);
        //}

        public Sphere(IRenderEngine renderEngine) : base(renderEngine)
        {
            mName = "Sphere";
        }
Пример #4
0
 public Capsule(IRenderEngine renderEngine) : base(renderEngine)
 {
     mName = "Capsule";
 }