eb25ee7690if and return series suggested by mrdoob here: https://github.com/bhouston/three.js/commit/6c765dcdb2c790ddcc5d613e96be8a0e66eca1f8#commitcomment-2346419
преди 13 години
Ben Houston
dafc56fd84use switch statements in Vector2/3/4.getComponents()/setComponents() based on it being 5-10x faster than index-to-name based on benchmark_vector3components.html