diff options
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 |