2019-07-05 18:45:16 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
2019-07-16 21:35:21 +00:00
|
|
|
|
using Toolbox.Library.Rendering;
|
2019-07-05 20:55:50 +00:00
|
|
|
|
using GL_EditorFramework.GL_Core;
|
|
|
|
|
using GL_EditorFramework.Interfaces;
|
|
|
|
|
using OpenTK;
|
|
|
|
|
using OpenTK.Graphics.OpenGL;
|
2019-07-05 18:45:16 +00:00
|
|
|
|
|
|
|
|
|
namespace FirstPlugin
|
|
|
|
|
{
|
|
|
|
|
public class GMX_Renderer : GenericModelRenderer
|
|
|
|
|
{
|
2019-07-05 20:55:50 +00:00
|
|
|
|
public override void OnRender(GLControl control)
|
|
|
|
|
{
|
|
|
|
|
GL.Enable(EnableCap.CullFace);
|
|
|
|
|
GL.CullFace(CullFaceMode.Front);
|
|
|
|
|
}
|
2019-07-05 18:45:16 +00:00
|
|
|
|
}
|
|
|
|
|
}
|