Пример #1
0
        public override void Draw(GuiWidget sender, DrawEventArgs e, Matrix4X4 itemMaxtrix, WorldView world)
        {
            Matrix4X4 xyMatrix = world.GetXYInViewRotation(new Vector3(0, 0, 30));

            foreach (var mesh in meshes)
            {
                GLHelper.Render(mesh.mesh, mesh.color, xyMatrix * Matrix4X4.CreateTranslation(0, 0, 30));
            }
        }