public Canvas(IntPtr handle, System.Drawing.Imaging.PixelFormat pixelFormat) { mvarHDC = handle; InitGL(pixelFormat, mvarHDC, out mvarHGLRC); mvarMatrix = new RenderMatrix(mvarHDC, mvarHGLRC); }
public Canvas(int glutHandle) { mvarGlutHandle = glutHandle; useGlut = true; mvarMatrix = new RenderMatrix(); }