MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / EMSCRIPTEN_BINDINGS

Function EMSCRIPTEN_BINDINGS

source/MRWasmModule/MRWasmMeshNormals.cpp:14–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12using namespace MR;
13
14EMSCRIPTEN_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}

Callers

nothing calls this directly

Calls 2

computePerVertNormalsFunction · 0.85
computePerFaceNormalsFunction · 0.85

Tested by

no test coverage detected