| 
									
										
										
										
											2009-08-28 11:40:01 -04:00
										 |  |  | ! (c)Joe Groff bsd license | 
					
						
							| 
									
										
										
										
											2012-07-19 22:10:09 -04:00
										 |  |  | USING: accessors kernel math.vectors.simd terrain.generation ;
 | 
					
						
							| 
									
										
										
										
											2009-10-16 00:20:05 -04:00
										 |  |  | FROM: alien.c-types => float ;
 | 
					
						
							| 
									
										
										
										
											2009-08-28 11:40:01 -04:00
										 |  |  | IN: benchmark.terrain-generation | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | : terrain-generation-benchmark ( -- )
 | 
					
						
							| 
									
										
										
										
											2012-07-19 22:10:09 -04:00
										 |  |  |     <terrain> float-4{ 0 0 0 1 } terrain-segment | 
					
						
							|  |  |  |     dim>> { 512 512 } assert= ;
 | 
					
						
							| 
									
										
										
										
											2009-08-28 11:40:01 -04:00
										 |  |  | 
 | 
					
						
							|  |  |  | MAIN: terrain-generation-benchmark |