ccdemos/textures.cc
branchpyrit
changeset 92 9af5c039b678
parent 91 9d66d323c354
child 93 96d65f841791
--- a/ccdemos/textures.cc	Fri May 02 13:27:47 2008 +0200
+++ b/ccdemos/textures.cc	Mon May 05 15:31:14 2008 +0200
@@ -17,7 +17,7 @@
 	if (lz != 0.0)
 		light.pos.z += lz;
 	if (cf != 0.0)
-		cam.F += cf;
+		cam.setF(cam.getF() + cf);
 }
 
 void key_callback(int key, int down)
@@ -148,4 +148,6 @@
 		rt.render();
 		sampler.getPixmap().writePNG("textures.png");
 	}
+	
+	return 0;
 }