include/quaternion.h
branchpyrit
changeset 91 9d66d323c354
parent 60 a23b5089b9c3
child 94 4c8abb8977dc
--- a/include/quaternion.h	Tue Apr 29 23:31:08 2008 +0200
+++ b/include/quaternion.h	Fri May 02 13:27:47 2008 +0200
@@ -3,7 +3,7 @@
  *
  * This file is part of Pyrit Ray Tracer.
  *
- * Copyright 2007  Radek Brich
+ * Copyright 2007, 2008  Radek Brich
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal
@@ -44,9 +44,9 @@
 	Quaternion(): a(0), b(0), c(0), d(0) {};
 	Quaternion(const Float aa, const Float ab, const Float ac, const Float ad):
 		a(aa), b(ab), c(ac), d(ad) {};
-	Quaternion(const Vector3& v): a(0), b(v.x), c(v.y), d(v.z) {};
+	Quaternion(const Vector& v): a(0), b(v.x), c(v.y), d(v.z) {};
 
-	Vector3 toVector() { return Vector3(b, c, d); };
+	Vector toVector() { return Vector(b, c, d); };
 
 	Quaternion normalize()
 	{