Simple wrapper for teaching computer graphics principles to AIV first year students
using System;
using Aiv.Draw;
namespace DrawTest
{
class MainClass
{
public static void Main (string[] args)
{
Window window = new Window (1024, 768, "Hello", PixelFormat.RGB);
while (window.opened) {
// write bytes into window.bitmap array to draw ...
// read window.deltaTime to get float time delta (1f = 1 second)
// call window.GetKey(KeyCode.xxx) to check for key press
window.Blit ();
}
}
}
}