bloboland

diff src/level.cc @ 5:2f4406cc341e

meh
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 19 Dec 2012 02:37:20 +0200
parents 9021a906c5d3
children
line diff
     1.1 --- a/src/level.cc	Tue Dec 18 06:13:09 2012 +0200
     1.2 +++ b/src/level.cc	Wed Dec 19 02:37:20 2012 +0200
     1.3 @@ -73,7 +73,8 @@
     1.4  	// generate some blobs
     1.5  	for(int i=0; i<opt.gen_num_blobs; i++) {
     1.6  		Blob b;
     1.7 -		b.pos = Vector3(frand(1.0) - 0.5, 10.0, frand(1.0) - 0.5);
     1.8 +		b.pos = Vector3(frand(1.0) - 0.5, 2.0, frand(1.0) - 0.5) * 2.0;
     1.9 +		printf("blob[%d]: %f %f %f\n", i, b.pos.x, b.pos.y, b.pos.z);
    1.10  		b.velocity = Vector3(0, 0, 0);
    1.11  		blobs.push_back(b);
    1.12  	}