ccdemos/realtime_dragon.cc
branchpyrit
changeset 91 9d66d323c354
parent 80 907929fa9b59
child 92 9af5c039b678
--- a/ccdemos/realtime_dragon.cc	Tue Apr 29 23:31:08 2008 +0200
+++ b/ccdemos/realtime_dragon.cc	Fri May 02 13:27:47 2008 +0200
@@ -14,13 +14,13 @@
 	rt.setMaxDepth(0);
 	rt.setTop(&top);
 	rt.setCamera(&cam);
-	cam.setEye(Vector3(0,0,10));
+	cam.setEye(Vector(0,0,10));
 
-	Light light1(Vector3(-5.0, 2.0, 8.0), Colour(0.9, 0.3, 0.6));
+	Light light1(Vector(-5.0, 2.0, 8.0), Colour(0.9, 0.3, 0.6));
 	light1.castShadows(false);
 	rt.addLight(&light1);
 
-	//Light light2(Vector3(-2.0, 10.0, 2.0), Colour(0.4, 0.6, 0.3));
+	//Light light2(Vector(-2.0, 10.0, 2.0), Colour(0.4, 0.6, 0.3));
 	//light2.castShadows(false);
 	//rt.addlight(&light2);
 
@@ -34,7 +34,7 @@
 	if (!fin)
 	{
 		load_ply(rt, "../models/ply/dragon/dragon_vrip.ply",
-			&mat, Vector3(-29,29,-29), Vector3(0,-3.6,0));
+			&mat, Vector(-29,29,-29), Vector(0,-3.6,0));
 		top.optimize();
 	}
 	else