Skip to content
Snippets Groups Projects
Commit 6a4e91ad authored by Joseph Walton-Rivers's avatar Joseph Walton-Rivers
Browse files

compile new math types

parent 5100104d
No related branches found
No related tags found
No related merge requests found
...@@ -31,6 +31,7 @@ target_sources(${PROJECT_NAME} ...@@ -31,6 +31,7 @@ target_sources(${PROJECT_NAME}
gui/widgets.cpp gui/widgets.cpp
gui/containers.cpp gui/containers.cpp
math/triangulation.cpp math/triangulation.cpp
math/shapes.cpp
) )
# spdlog for cleaner logging # spdlog for cleaner logging
......
...@@ -180,6 +180,7 @@ namespace fggl::math::phs3d { ...@@ -180,6 +180,7 @@ namespace fggl::math::phs3d {
// (c3 + c1 ) / c_2 // (c3 + c1 ) / c_2
// (c1 + c2 ) / c_2 // (c1 + c2 ) / c_2
// return BarycentricToCart(bary) // return BarycentricToCart(bary)
return glm::zero<vec3>();
} }
inline float circumradius() { inline float circumradius() {
...@@ -192,6 +193,7 @@ namespace fggl::math::phs3d { ...@@ -192,6 +193,7 @@ namespace fggl::math::phs3d {
// c = c1 + c2 + c3 // c = c1 + c2 + c3
// c_2 = 2 * c // c_2 = 2 * c
// return sqrt( (d1+d2) * (d2+d3) * ( d3 + d1 ) / c ) / 2 // return sqrt( (d1+d2) * (d2+d3) * ( d3 + d1 ) / c ) / 2
return 0.0F;
} }
bool CartToBarycentric(const math::vec3& cart, Barycentric& outVal); bool CartToBarycentric(const math::vec3& cart, Barycentric& outVal);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment