Skip to content

Instantly share code, notes, and snippets.

@kypflug

kypflug/asm-0.js Secret

Created June 12, 2015 21:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kypflug/e5062591789a10c3aa15 to your computer and use it in GitHub Desktop.
Save kypflug/e5062591789a10c3aa15 to your computer and use it in GitHub Desktop.
function PhysicsEngine(global, foreign, heap) {
"use asm";
// Function Declaration
function square(x) {
x = +x;
return +(x*x);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment