require("https://www.espruino.com/modules/Vec3.js"); //no errors
var strength = new Vec3(xyz).sub(zero).mag(); //throws uncaught referenceerror about Vec not being defined.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi - I can't seem to get the Vec3 module to load.
Not sure what is up...
Kevin