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