Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/vector3f.h')
-rw-r--r--src/common/vector3f.h21
1 files changed, 16 insertions, 5 deletions
diff --git a/src/common/vector3f.h b/src/common/vector3f.h
index 53b2ce7..e943bd4 100644
--- a/src/common/vector3f.h
+++ b/src/common/vector3f.h
@@ -1,11 +1,20 @@
-/* vector3f.h
- This file is part of the Osirion project
+/*
+ common/vector3f.cc
+ This file is part of the Osirion project and is distributed under
+ the terms of the GNU General Public License version 2
*/
- #ifndef __INCLUDED_VECTOR3F_H__
- #define __INCLUDED_VECTOR3F_H__
+#ifndef __INCLUDED_VECTOR3F_H__
+#define __INCLUDED_VECTOR3F_H__
+
+// project headers
+#include "vector3f.h"
+
+// C++ headers
+#include <iostream>
+
+namespace common {
- #include <iostream>
/// A point or vector in 3D-space
/*!
An instance of this class represents a point in 3D-space or a 3D-vector
@@ -135,4 +144,6 @@ std::istream &operator>>(std::istream & is, Vector3f& vector);
/// scalar*Vector3f operators
Vector3f operator*(float scalar, const Vector3f& vector);
+} // namespace common
+
#endif // __INCLUDED_VECTOR3F_H__