/// <summary> /// Divides a scalar by a vector. /// </summary> /// <param name="v">A <see cref="SLVec4f"/> instance.</param> /// <param name="s">A scalar</param> /// <returns>A new <see cref="SLVec4f"/> containing the quotient.</returns> /// <remarks> /// result[i] = s / m_v[i] /// </remarks> public static SLVec4f operator/(float s, SLVec4f v) { return(SLVec4f.Divide(s, v)); }
/// <summary> /// Divides a vector by a scalar. /// </summary> /// <param name="v">A <see cref="SLVec4f"/> instance.</param> /// <param name="s">A scalar</param> /// <returns>A new <see cref="SLVec4f"/> containing the quotient.</returns> /// <remarks> /// result[i] = m_v[i] / s; /// </remarks> public static SLVec4f operator/(SLVec4f v, float s) { return(SLVec4f.Divide(v, s)); }