| 12 | using namespace MR; |
| 13 | |
| 14 | EMSCRIPTEN_BINDINGS( meshlib_mesh_normals ) |
| 15 | { |
| 16 | emscripten::function( "computePerVertNormals", |
| 17 | +[]( std::shared_ptr<Mesh> m ) { return computePerVertNormals( *m ); } ); |
| 18 | |
| 19 | emscripten::function( "computePerFaceNormals", |
| 20 | +[]( std::shared_ptr<Mesh> m ) { return computePerFaceNormals( *m ); } ); |
| 21 | } |
nothing calls this directly
no test coverage detected