Perlin noise benchmark speed

bearophile via Digitalmars-d digitalmars-d at puremagic.com
Fri Jun 20 13:41:22 PDT 2014


Mattcoder:

> Beside the error above, which for now I'm using:
>
> immutable float x0f = cast(int)x; //x.floor;
> immutable float y0f = cast(int)y; //y.floor;
>
> Just to compile,

If you remove the calls to floor, you are avoiding the main 
problem to fix.

Bye,
bearohile


More information about the Digitalmars-d mailing list