(fwMath): use glm vector when computing barycenters and fix mistake
Description
- Replace all
fwVec3
structure by::glm::dvec3
, along with glm maths functions. - Fix mistake in dot product when computing barycentric coordinates.
- Update unit-test
Closes #510 (closed)
How to test it?
- Compile fwMath
- Run fwMathTest