src/serialize.cc
branchpyrit
changeset 91 9d66d323c354
parent 80 907929fa9b59
child 95 ca7d4c665531
--- a/src/serialize.cc	Tue Apr 29 23:31:08 2008 +0200
+++ b/src/serialize.cc	Fri May 02 13:27:47 2008 +0200
@@ -68,7 +68,7 @@
 		// Vertex
 		if (s.compare("(v") == 0)
 		{
-			Vector3 P;
+			Vector P;
 			st >> P;
 			getline(st, s, ')');
 			vertices.push_back(new Vertex(P));
@@ -79,7 +79,7 @@
 		// NormalVertex
 		if (s.compare("(vn") == 0)
 		{
-			Vector3 P,N;
+			Vector P,N;
 			st >> P;
 			getline(st, s, ',');
 			st >> N;
@@ -105,7 +105,7 @@
 		// box
 		if (s.compare("(box") == 0)
 		{
-			Vector3 L,H;
+			Vector L,H;
 			st >> L;
 			getline(st, s, ',');
 			st >> H;
@@ -116,7 +116,7 @@
 		// Sphere
 		if (s.compare("(sphere") == 0)
 		{
-			Vector3 center;
+			Vector center;
 			Float radius;
 			st >> center;
 			getline(st, s, ',');