public Vec2 Transform(Mat3x2 matrix) { return(new Vec2 ( (x * matrix.x.x) + (y * matrix.y.x) + (z * matrix.z.x), (x * matrix.x.y) + (y * matrix.y.y) + (z * matrix.z.y) )); }
public Vec3 Transform(Mat3x2 matrix) { return(new Vec3 ( (matrix.x.x * x) + (matrix.x.y * y), (matrix.y.x * x) + (matrix.y.y * y), (matrix.z.x * x) + (matrix.z.y * y) )); }