Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/model
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-05-10 10:19:16 +0000
committerStijn Buys <ingar@osirion.org>2008-05-10 10:19:16 +0000
commit930db4020b9af2ccd999cb3a8c980cc9d527f8cf (patch)
tree1767c67dbe94615c02d529f3ed04e614cb948921 /src/model
parent421fc71813f08bfe359f9ac7596933a7e4cea6e0 (diff)
client-side axis interpolation
Diffstat (limited to 'src/model')
-rw-r--r--src/model/plane.cc4
-rw-r--r--src/model/vertexdata.cc0
-rw-r--r--src/model/vertexdata.h0
3 files changed, 4 insertions, 0 deletions
diff --git a/src/model/plane.cc b/src/model/plane.cc
index 2d548ce..761918f 100644
--- a/src/model/plane.cc
+++ b/src/model/plane.cc
@@ -12,6 +12,10 @@ namespace model
{
using math::Vector3f;
+/*
+ * all points p(x, y, z) on the plane satisfy the general equation
+ * x*a() + y*b() + z*c() + d() = 0
+ */
Plane::Plane(Vector3f const & point0, Vector3f const &point1, Vector3f const &point2)
{
diff --git a/src/model/vertexdata.cc b/src/model/vertexdata.cc
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/model/vertexdata.cc
diff --git a/src/model/vertexdata.h b/src/model/vertexdata.h
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/model/vertexdata.h