Exemple #1
0
        public override void Render(MatWorld world)
        {
            renderLeft = true;
            base.Render(world);

            renderLeft = false;
            base.Render(world);
        }
Exemple #2
0
        public virtual void Render(MatWorld world)
        {
            CameraUpdate();

            RenderingContext context = new RenderingContext()
            {
                camMatrix = CameraMatrix
            };

            foreach (Mat3DObject obj in world.Objects)
            {
                obj.Draw(context);
            }
        }