Exemple #1
0
 public Cube(IRenderEngine renderEngine) : base(renderEngine)
 {
     mName = "Cube";
 }
Exemple #2
0
 public IShape(IRenderEngine renderEngine)
 {
     mRenderEngine = renderEngine;
 }
Exemple #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";
        }
Exemple #4
0
 public Capsule(IRenderEngine renderEngine) : base(renderEngine)
 {
     mName = "Capsule";
 }