#region CsGL - Plot Here
public void PlotGL()
{
try
{
lock (matrixLock)
{
ThisRot.get_Renamed(matrix);
}
GL.glClear(GL.GL_COLOR_BUFFER_BIT | GL.GL_DEPTH_BUFFER_BIT); GL.glLoadIdentity();
GL.glPushMatrix(); GL.glMultMatrixf(matrix);
GL.glPolygonMode(GL.GL_FRONT_AND_BACK, GL.GL_LINE);
#region plot something
GL.glColor3f(0.8f, 0.3f, 0.1f);
this.torus(0.3f, 0.5f);
#endregion plot something
GL.glPopMatrix(); GL.glFlush();
this.Invalidate();
}
catch
{
return;
}
}