You are reading a single comment by @Frida and its replies. Click here to read the full conversation.
  • Why not use
    var vec3 = require("Vec3"); //no errors

    var vec3 = require("Vec3"); //no errors
    
    console.log(vec3);
    
    
     1v96 (c) 2017 G.Williams
    >function (a,b,c) {"object"==typeof a?this.set(a.x,a.y,a.z):"number"==typeof­ a?this.set(a,b,c):this.set(0,0,0)}
    =undefined
    > 
    
  • Frida, ClearMemory041063 and Ollie,

    Will give these ideas a try... I think I tried ClearMemory041063's suggestion of dropping the ".js" with the same result, but will try tomorrow - left my puck at work by accident :(.

    Thanks

    Kevin

About

Avatar for Frida @Frida started