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

Function toPointer

wasm/reset_events.js:49–51  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

47}
48
49var toPointer = function (value) {
50 return getPointerSize() == 8 ? BigInt(value) : value;
51}
52
53var hasMouse = function () {
54 return !(('ontouchstart' in window) || (navigator.maxTouchPoints > 0) || (navigator.msMaxTouchPoints > 0));

Callers 2

callDropFuncFunction · 0.70
updateEventsFunction · 0.70

Calls 1

getPointerSizeFunction · 0.70

Tested by

no test coverage detected