sgl.html sgl_minimal.html sgl_Tips.html sgl_TroubleShooting.html

sglv0.16

This document is intended to be viewed in Internet Explorer
sgl <software graphics library> Version 0.16
Written by Antzrhere (Antzrhere@hotmail.com)

This simply shows what minimal sgl code is needed.

Sgl Minimal.prg - Notepad
  File   Edit   Search   Help
program sgl_minimal;

import "dll\sgl.dll";

begin

sglInit();
 

sglSetMaxViewport();

loop

sglClearRB(0,sglEntireArea());

sglClearZbuffer(sglEntireArea());

sglPolygon3v(-1000,-1000,100,1000,-1000,100,0,1000,100, sglSolidColour(50) );

frame;

end

end