MCPcopy Create free account
hub / github.com/esengine/esengine / getDataViewMemory0

Function getDataViewMemory0

packages/rapier2d/pkg/rapier_wasm2d.js:52–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50let cachedDataViewMemory0 = null;
51
52function getDataViewMemory0() {
53 if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {
54 cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
55 }
56 return cachedDataViewMemory0;
57}
58
59function dropObject(idx) {
60 if (idx < 132) return;

Callers 9

versionFunction · 0.85
intersectionWithShapeMethod · 0.85
createColliderMethod · 0.85
coVerticesMethod · 0.85
coVoxelDataMethod · 0.85
coHeightfieldHeightsMethod · 0.85
coParentMethod · 0.85
coIndicesMethod · 0.85
__wbg_get_importsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected