rgoulter / cs5237-VoronoiArt

Voronoi Art program written with OpenGL, Qt and OpenCV.
MIT License
3 stars 1 forks source link

Our StopWatch should be 'portable', so doesn't need <windows.h> #25

Open rgoulter opened 6 years ago

rgoulter commented 6 years ago

windows.h pollutes the global namespace, so we can't use the name Polygon.

Our timing needs aren't super precise; simple C methods for getting differences in time suffice for our usage. (Which is mostly just debugging / showing time some step took).

rgoulter commented 6 years ago

Ugh. The problem is that windows.h is 'needed' for the OpenGL stuff?

https://stackoverflow.com/questions/10263071/making-an-opengl-app-without-windows-h