public static KVector3 Multiply(KMatrix3x3Opti A, KVector3 B) { double X = A.A11 * B.X + A.A12 * B.Y + A.A13 * B.Z; double Y = A.A21 * B.X + A.A22 * B.Y + A.A23 * B.Z; double Z = B.Z; return(new KVector3(X, Y, Z)); }
public static KVector3 Multiply(KVector3 A, KMatrix3x3Opti B) { double X = A.X * B.A11 + A.Y * B.A21; double Y = A.X * B.A12 + A.Y * B.A22; double Z = A.X * B.A13 + A.Y * B.A23 + A.Z; return(new KVector3(X, Y, Z)); }