#pragma once // Include modules #include "OptiTrackPoint.hpp" // Include dependencies #include "lib3mf_implicit.hpp" #include class MeshTools { public: static void calculateNormals(const std::vector verticesBuffer, const std::vector triangleBuffer, osg::ref_ptr vertices, osg::ref_ptr normals); static float angleBetween(osg::Vec3 a, osg::Vec3 b); static float compensationLength(osg::Vec3 a, osg::Vec3 b, float length); static bool optiTrackSanityCheck(const std::vector points, const bool showSuccessMessage); };