Basic standard graphics

bearophile bearophileHUGS at lycos.com
Fri Nov 12 16:14:25 PST 2010


Adam D. Ruppe:

> Yes, it still works. The FPS on my computer hovers around 155.
> The C version is about 180.
> 
> If I change it from std.random.uniform to core.stdc.stdlib.rand, it gives equal
> results to C.

Good :-)
If you want you may replace the writeln() (and remove std.stdio import) with a SDL_WM_SetCaption() (and see if it runs still).

Bye,
bearophile


More information about the Digitalmars-d mailing list