Module for including all D2DGame components.
2D rotation on a mat4.
2D scale on a mat4.
2D translation on a mat4.
Matrix stack for modelview (like glPopMatrix, glPushMatrix).
Matrix stack for projection.
import D2D; void main() { Window window = new Window(); Event event; // Or WindowEvent while(window.open) { while (window.pollEvent(event)) { if(event.type == Event.Type.Quit) window.close(); } window.clear(); // Update & Render here window.display(); } }
See Source File
Module for including all D2DGame components.