/* common/plane.cc This file is part of the Osirion project and is distributed under the terms of the GNU General Public License version 2 */ // project headers #include "math/plane.h" // C++ headers #include namespace math { Plane::Plane(Vector3f const &a, Vector3f const &b, Vector3f const &c) { p0 = a; // FIXME calculate plane normal } Plane::Plane(Vector3f const &p, Vector3f const &n) { p0 = p; pn = n; } } // namespace math