| 857 | } |
| 858 | |
| 859 | [[nodiscard]] float edgeFunction(const glm::vec2& a, |
| 860 | const glm::vec2& b, |
| 861 | const glm::vec2& c) { |
| 862 | return (c.x - a.x) * (b.y - a.y) - (c.y - a.y) * (b.x - a.x); |
| 863 | } |
| 864 | |
| 865 | [[nodiscard]] glm::vec3 safeNormalize(const glm::vec3& value, |
| 866 | const glm::vec3& fallback) { |
no outgoing calls
no test coverage detected