diff options
author | Stijn Buys <ingar@osirion.org> | 2008-05-10 10:19:16 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-05-10 10:19:16 +0000 |
commit | 930db4020b9af2ccd999cb3a8c980cc9d527f8cf (patch) | |
tree | 1767c67dbe94615c02d529f3ed04e614cb948921 /src/model | |
parent | 421fc71813f08bfe359f9ac7596933a7e4cea6e0 (diff) |
client-side axis interpolation
Diffstat (limited to 'src/model')
-rw-r--r-- | src/model/plane.cc | 4 | ||||
-rw-r--r-- | src/model/vertexdata.cc | 0 | ||||
-rw-r--r-- | src/model/vertexdata.h | 0 |
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 |