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