18 Jun
2019
18 Jun
'19
1:49 a.m.
On Mon, Jun 17, 2019 at 8:21 PM Jeff Smith <whydoubt(a)gmail.com> wrote:
+static void transform_affine(D3DVECTOR *d, D3DVALUE *s, D3DRMMATRIX4D m) +{ + d->u1.x = s->u1.x * m[0][0] + s->u2.y * m[1][0] + s->u3.z * m[2][0] + m[3][0]; + d->u2.y = s->u1.x * m[0][1] + s->u2.y * m[1][1] + s->u3.z * m[2][1] + m[3][1]; + d->u3.z = s->u1.x * m[0][2] + s->u2.y * m[1][2] + s->u3.z * m[2][2] + m[3][2]; +}
I already have that second arg corrected to "D3DVECTOR *s" but I sent the wrong version of the patch. I will get the right one in on the next round. -- Jeff