fix benchmark.terrain-generation

db4
Joe Groff 2009-10-15 23:20:05 -05:00
parent a8cf31d125
commit 6022a0f5d9
1 changed files with 4 additions and 2 deletions

View File

@ -1,10 +1,12 @@
! (c)Joe Groff bsd license
USING: io kernel terrain.generation threads ;
USING: io kernel math.vectors.simd terrain.generation threads ;
FROM: alien.c-types => float ;
SIMD: float
IN: benchmark.terrain-generation
: terrain-generation-benchmark ( -- )
"Generating terrain segment..." write flush yield
<terrain> { 0 0 } terrain-segment drop
<terrain> float-4{ 0 0 0 1 } terrain-segment drop
"done" print ;
MAIN: terrain-generation-benchmark