diff --git a/src/etc/wasm32-shim.js b/src/etc/wasm32-shim.js index 98d6202a63f..378aae59733 100644 --- a/src/etc/wasm32-shim.js +++ b/src/etc/wasm32-shim.js @@ -107,6 +107,10 @@ imports.env = { exp2f: function(x) { return Math.pow(2, x); }, ldexp: function(x, y) { return x * Math.pow(2, y); }, ldexpf: function(x, y) { return x * Math.pow(2, y); }, + sin: Math.sin, + sinf: Math.sin, + cos: Math.cos, + cosf: Math.cos, log: Math.log, log2: Math.log2, log10: Math.log10,