MCPcopy Create free account
hub / github.com/microsoft/SandDance / fp64ifyMatrix4

Function fp64ifyMatrix4

docs/app/js/sanddance-app.js:68913–68920  ·  view source on GitHub ↗
(matrix)

Source from the content-addressed store, hash-verified

68911 return a - Math.fround(a);
68912}
68913function fp64ifyMatrix4(matrix) {
68914 var matrixFP64 = new Float32Array(32);
68915 for(var i = 0; i < 4; ++i)for(var j = 0; j < 4; ++j){
68916 var index = i * 4 + j;
68917 fp64ify(matrix[j * 4 + i], matrixFP64, index * 2);
68918 }
68919 return matrixFP64;
68920}
68921
68922},{"@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"cGB3b":[function(require,module,exports) {
68923var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js");

Callers

nothing calls this directly

Calls 1

fp64ifyFunction · 0.70

Tested by

no test coverage detected