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

Method __wrap

packages/rapier2d/pkg/rapier_wasm2d.js:1496–1502  ·  view source on GitHub ↗
(ptr)

Source from the content-addressed store, hash-verified

1494export class RawColliderShapeCastHit {
1495
1496 static __wrap(ptr) {
1497 ptr = ptr >>> 0;
1498 const obj = Object.create(RawColliderShapeCastHit.prototype);
1499 obj.__wbg_ptr = ptr;
1500 RawColliderShapeCastHitFinalization.register(obj, obj.__wbg_ptr, obj);
1501 return obj;
1502 }
1503
1504 __destroy_into_raw() {
1505 const ptr = this.__wbg_ptr;

Callers

nothing calls this directly

Calls 2

registerMethod · 0.65
createMethod · 0.45

Tested by

no test coverage detected