using vector class of Three.js is verbose