Box2D.Common.Mat33.MulToOut C# (CSharp) Метод

MulToOut() публичный статический Метод

public static MulToOut ( Mat33 a, Vec3 v, Vec3 result ) : void
a Mat33
v Vec3
result Vec3
Результат void
        public static void MulToOut(Mat33 a, Vec3 v, Vec3 result)
        {
            float tempy = v.X * a.Ex.Y + v.Y * a.Ey.Y + v.Z * a.Ez.Y;
            float tempz = v.X * a.Ex.Z + v.Y * a.Ey.Z + v.Z * a.Ez.Z;
            result.X = v.X * a.Ex.X + v.Y * a.Ey.X + v.Z * a.Ez.X;
            result.Y = tempy;
            result.Z = tempz;
        }