private void Init() { GL.Enable(EnableCap.ProgramPointSize); GL.Enable(EnableCap.LineSmooth); GL.Enable(EnableCap.DepthTest); //GL.LineWidth(3.0f); Shaders.Init(); renderer.Init(); var result = Renderer.GeneratePositions(1, 4, 8); UpdateRotation(); }
private void Init() { GL.Enable(EnableCap.ProgramPointSize); GL.Enable(EnableCap.LineSmooth); GL.Enable(EnableCap.DepthTest); GL.LineWidth(3.0f); Shaders.Init(); renderer.Init(); cube = new Cube(); planeDirection = new vec3(1, 1, 1); UpdateRotation(); }