83 std::optional<glm::vec2> lineLineIntersection(const Line<2>& line_1, const Line<2>& line_2); |
83 std::optional<glm::vec2> lineLineIntersection(const Line<2>& line_1, const Line<2>& line_2); |
84 std::optional<glm::vec2> rayLineSegmentIntersection(const Ray<2>& ray, const LineSegment2D& line); |
84 std::optional<glm::vec2> rayLineSegmentIntersection(const Ray<2>& ray, const LineSegment2D& line); |
85 std::optional<PointOnRectagle> rayRectangleIntersection(const Ray<2>& ray, const QRectF& rectangle); |
85 std::optional<PointOnRectagle> rayRectangleIntersection(const Ray<2>& ray, const QRectF& rectangle); |
86 Plane planeFromTriangle(const Triangle& triangle); |
86 Plane planeFromTriangle(const Triangle& triangle); |
87 glm::vec3 normalVector(const Triangle& triangle); |
87 glm::vec3 normalVector(const Triangle& triangle); |
88 std::optional<glm::vec3> linePlaneIntersection(const Line<3>& line, const Plane& plane, const float epsilon = 1e-6f); |
88 std::optional<glm::vec3> linePlaneIntersection( |
|
89 const Line<3>& line, |
|
90 const Plane& plane, const float epsilon = 1e-6f); |
89 glm::vec3 scalingVector(const glm::mat4 matrix); |
91 glm::vec3 scalingVector(const glm::mat4 matrix); |
90 LineSegment2D top(const QRectF& rectangle); |
92 LineSegment2D top(const QRectF& rectangle); |
91 LineSegment2D bottom(const QRectF& rectangle); |
93 LineSegment2D bottom(const QRectF& rectangle); |
92 LineSegment2D left(const QRectF& rectangle); |
94 LineSegment2D left(const QRectF& rectangle); |
93 LineSegment2D right(const QRectF& rectangle); |
95 LineSegment2D right(const QRectF& rectangle); |