- /// \brief Returns true if \p point intersects volume.
- virtual bool TestPoint(const Vector3& point) const = 0;
- /// \brief Returns true if \p segment intersects volume.
- virtual bool TestLine(const Segment& segment) const = 0;
- /// \brief Returns true if \p plane faces towards volume.
- virtual bool TestPlane(const Plane3& plane) const = 0;
- /// \brief Returns true if \p plane transformed by \p localToWorld faces the viewer.
- virtual bool TestPlane(const Plane3& plane, const Matrix4& localToWorld) const = 0;
- /// \brief Returns the intersection of \p aabb and volume.
- virtual VolumeIntersectionValue TestAABB(const AABB& aabb) const = 0;
- /// \brief Returns the intersection of \p aabb transformed by \p localToWorld and volume.
- virtual VolumeIntersectionValue TestAABB(const AABB& aabb, const Matrix4& localToWorld) const = 0;
-
- virtual bool fill() const = 0;
-
- virtual const Matrix4& GetViewport() const = 0;
- virtual const Matrix4& GetProjection() const = 0;
- virtual const Matrix4& GetModelview() const = 0;
+/// \brief Returns true if \p point intersects volume.
+virtual bool TestPoint( const Vector3& point ) const = 0;
+/// \brief Returns true if \p segment intersects volume.
+virtual bool TestLine( const Segment& segment ) const = 0;
+/// \brief Returns true if \p plane faces towards volume.
+virtual bool TestPlane( const Plane3& plane ) const = 0;
+/// \brief Returns true if \p plane transformed by \p localToWorld faces the viewer.
+virtual bool TestPlane( const Plane3& plane, const Matrix4& localToWorld ) const = 0;
+/// \brief Returns the intersection of \p aabb and volume.
+virtual VolumeIntersectionValue TestAABB( const AABB& aabb ) const = 0;
+/// \brief Returns the intersection of \p aabb transformed by \p localToWorld and volume.
+virtual VolumeIntersectionValue TestAABB( const AABB& aabb, const Matrix4& localToWorld ) const = 0;
+
+virtual bool fill() const = 0;
+
+virtual const Matrix4& GetViewport() const = 0;
+virtual const Matrix4& GetProjection() const = 0;
+virtual const Matrix4& GetModelview() const = 0;