SHARE
TWEET

Untitled

a guest Aug 14th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. MOGLWindow w = new MOGLWindow(600, 600, "OpenGL");
  2.  
  3. w.OnMouseWheelChanged += W_OnMouseWheelChanged;
  4. w.OnMouseMoved += W_OnMouseMoved;
  5.  
  6. while (w.IsOpen)
  7. {
  8.     w.Clear(1.0f, 0.5f, 0.5f, 1.0f);
  9.     w.SwapBuffers();
  10.     w.PollEvents();
  11. }
  12.  
  13. w.Dispose();
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top