From 930db4020b9af2ccd999cb3a8c980cc9d527f8cf Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 10 May 2008 10:19:16 +0000 Subject: client-side axis interpolation --- src/model/plane.cc | 4 ++++ src/model/vertexdata.cc | 0 src/model/vertexdata.h | 0 3 files changed, 4 insertions(+) create mode 100644 src/model/vertexdata.cc create mode 100644 src/model/vertexdata.h (limited to 'src/model') 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 diff --git a/src/model/vertexdata.h b/src/model/vertexdata.h new file mode 100644 index 0000000..e69de29 -- cgit v1.2.3