/// <summary> /// Multiplies matrix with a V__x4t__. /// </summary> public static V__x4t__ Multiply(M2__x2t__ mat, V__x4t__ vec) { return(new V__x4t__(mat.M00 * vec.X + mat.M01 * vec.Y, mat.M10 * vec.X + mat.M11 * vec.Y, vec.Z, vec.W)); }
/// <summary> /// Multiplacation of a <see cref="Scale__x3t__"/> with a <see cref="V__x4t__"/>. /// </summary> public static V__x4t__ Multiply(Scale__x3t__ scale, V__x4t__ vec) { return(new V__x4t__(scale.X * vec.X, scale.Y * vec.Y, scale.Z * vec.Z, vec.W)); }