MeshTools.hpp 335 B

12345678910
  1. #pragma once
  2. // Include dependencies
  3. #include "lib3mf_implicit.hpp"
  4. #include <osg/Array>
  5. class MeshTools {
  6. public:
  7. static void calculateNormals(const std::vector<Lib3MF::sPosition> verticesBuffer, const std::vector<Lib3MF::sTriangle> triangleBuffer, osg::ref_ptr<osg::Vec3Array> vertices, osg::ref_ptr<osg::Vec3Array> normals);
  8. };