I've got it working.
Here is an example program written in EzBlitz!
It runs at exactly the same fps as Blitz!
EzBlitz blitz;
unsigned int camera;
unsigned int light;
unsigned int cone;
blitz.Start();
blitz.Graphics3D(1280, 1024, 32, cFullScreen);
blitz.SetBuffer(cBackBuffer);
camera = blitz.CreateCamera();
light = blitz.CreateLight();
cone = blitz.CreateCone(32);
blitz.PositionEntity(cone, 0, 0, 5);
float a = 5;
while(1)
{
blitz.PositionEntity(cone, 0, 0, a);
blitz.RenderWorld();
blitz.Flip();
a+=0.02;
if(a == 10)
{
a=5;
}
}
blitz.Stop();
Here is an example program written in EzBlitz!
It runs at exactly the same fps as Blitz!
EzBlitz blitz;
unsigned int camera;
unsigned int light;
unsigned int cone;
blitz.Start();
blitz.Graphics3D(1280, 1024, 32, cFullScreen);
blitz.SetBuffer(cBackBuffer);
camera = blitz.CreateCamera();
light = blitz.CreateLight();
cone = blitz.CreateCone(32);
blitz.PositionEntity(cone, 0, 0, 5);
float a = 5;
while(1)
{
blitz.PositionEntity(cone, 0, 0, a);
blitz.RenderWorld();
blitz.Flip();
a+=0.02;
if(a == 10)
{
a=5;
}
}
blitz.Stop();