Plane.cppm 385 B

12345678910111213141516
  1. export module Core.Plane;
  2. export import Core.Vector;
  3. export namespace Core {
  4. class Plane final {
  5. Vector3 abc;
  6. float d;
  7. public:
  8. Plane() noexcept;
  9. Plane(const Vector3& a, const Vector3& b, const Vector3& c) noexcept;
  10. float signedDistance(const Vector3& v) const noexcept;
  11. size_t toString(StringBase& b) const noexcept;
  12. };
  13. }