src/math-helpers.js
function proj (u, v) {
  return u.clone().multiplyScalar(u.dot(v) / u.dot(u));
}
function proj (u, v) {
  return u.clone().multiplyScalar(u.dot(v) / u.dot(u));
}
function proj ( u , v ) { return u . clone ( ) . multiplyScalar ( u . dot ( v ) / u . dot ( u ) ) ; }
Computes the projection of one vector against another.
@memberof Helpers
@param {Vector2|Vector3|Vector4} u The vector to project.
@param {Vector2|Vector3|Vector4} v The vector to be projected against.
Computes the projection of one vector against another .