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

Function setMatrixArrayType

docs/app/js/sanddance-app.js:70108–70110  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

70106var ARRAY_TYPE = typeof Float32Array !== "undefined" ? Float32Array : Array;
70107var RANDOM = Math.random;
70108function setMatrixArrayType(type) {
70109 ARRAY_TYPE = type;
70110}
70111var degree = Math.PI / 180;
70112function toRadian(a) {
70113 return a * degree;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected