14 #include <glm/glm.hpp> 16 #include <Utils/GeometryStructures.h> 27 GEOM_API
float GetTriangleVolume(
const glm::vec2 &a,
const glm::vec2 &b,
const glm::vec2 &c);
30 GEOM_API
float GetTriangleVolume(
const glm::vec3 &a,
const glm::vec3 &b,
const glm::vec3 &c);
33 GEOM_API glm::vec3 GetTriangleNormalCW(glm::vec3 p0, glm::vec3 p1, glm::vec3 p2);
34 GEOM_API glm::vec3 GetTriangleNormalCCW(glm::vec3 p0, glm::vec3 p1, glm::vec3 p2);
41 GEOM_API
bool LineTriangleIntersection(
const geom::Triangle3 triangle,
const geom::Line3 &line, glm::vec3 &out_intersection);
43 GEOM_API glm::vec3 GetCentroid(std::vector<float> &vertices);
44 GEOM_API glm::vec3 GetVertexLowestY(std::vector<float> &vertices);
Definition: Constructors.h:9