A retargetable port of three.js to C++11