Hi,

I’ve a problem with vertices projection. See this image:

There are three points in this order:

-Red point (2.0, 2.0, 2.0)

-Green point (-2.0, 2.0, 2.0)

-Blue point (2.0, -2.0, 2.0)

Ok, now I need the projected coordinate of this three vertices. I proceed in this manner:

```
V1 = (2.0, 2.0, 2.0);
PM; //Is the projection matrix
MM; //Is the modelview matrix
TM = {(0.5 * 1024.0), 0.0, 0.0, 0.0, 0.0, (0.5 * 800.0), 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, (0.5 * 1024.0), (0.5 * 800.0), 0.0, 1.0};
V1O = (2.0, 2.0, 2.0, 1.0);
V1O = TM*PM*MM*V1O;
V1 = V1O.perspectiveDivision();
```

In this manner I obtain a wrong result, because the resulting coordinate are these: (yellow numbers)

Why the order is wrong? And way the second coordinate is wrong?

Thanks.