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

Function EMSCRIPTEN_BINDINGS

source/MRWasmModule/MRWasmMeshToPointCloud.cpp:13–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11using namespace MR;
12
13EMSCRIPTEN_BINDINGS( meshlib_mesh_to_point_cloud )
14{
15 emscripten::function( "meshToPointCloud", +[]( std::shared_ptr<Mesh> m, bool saveNormals )
16 {
17 return meshToPointCloud( *m, saveNormals );
18 } );
19}

Callers

nothing calls this directly

Calls 1

meshToPointCloudFunction · 0.85

Tested by

no test coverage detected