Update: use PowerShell script PythonEmbed4Win.ps1.
The instructions in this gist have some subtle problems and this gist will not be updated.
| #include<stdio.h> | |
| #include <gl/glut.h> | |
| #define KEY_ESC 27 /* GLUT doesn't supply this */ | |
| int fullscreen = 0; | |
| int mouseDown = 0; | |
| float xrot = 100.0f; | |
| float yrot = -100.0f; |
The instructions in this gist have some subtle problems and this gist will not be updated.