acl-js/src-js/vec3.js
// Multiplies two vec3 instances component wise or a vec3 by a scalar.
Multiplies two vec3 instances component wise or a vec3 by a scalar.
Multiplies two vec3 instances component wise or a vec3 by a scalar .
static mul(lhs, rhs) {
    if (typeof rhs === 'number') {
      return new Vec3(lhs.x * rhs, lhs.y * rhs, lhs.z * rhs)
    }
    else {
      return new Vec3(lhs.x * rhs.x, lhs.y * rhs.y, lhs.z * rhs.z)
    }
  }
static mul ( lhs , rhs ) { if ( typeof rhs === 'number' ) { return new Vec3 ( lhs . x * rhs , lhs . y * rhs , lhs . z * rhs ) } else { return new Vec3 ( lhs . x * rhs . x , lhs . y * rhs . y , lhs . z * rhs . z ) } }
Multiplies two vec3 instances component wise or a vec3 by a scalar.
Multiplies two vec3 instances component wise or a vec3 by a scalar .