/// <summary> /// Multiplies a vector by a scale factor. /// </summary> /// <param name="value2">The vector to scale.</param> /// <param name="value1">The scale factor.</param> /// <returns>Returns the scaled vector.</returns> #region public static JVector operator *(FP value1, JVector value2) public static FPVector operator *(FP value1, FPVector value2) { FPVector result; FPVector.Multiply(ref value2, value1, out result); return(result); }
/// <summary> /// Multiply a vector with a factor. /// </summary> /// <param name="value1">The vector to multiply.</param> /// <param name="scaleFactor">The scale factor.</param> /// <returns>Returns the multiplied vector.</returns> #region public static JVector Multiply(JVector value1, FP scaleFactor) public static FPVector Multiply(FPVector value1, FP scaleFactor) { FPVector result; FPVector.Multiply(ref value1, scaleFactor, out result); return(result); }