Closed GoogleCodeExporter closed 9 years ago
HUmm... I need to add Angle here also... Is possible?
Original comment by wagenhei...@gmail.com
on 16 Feb 2011 at 2:17
[deleted comment]
For each vertex;
Buffer.List^[Index].Position:= Matrix_Multiply( Matrix_RotationZ(Angle),
Matrix_Translation(X,Y,0);
And you have to change each coordinate to:
Buffer.List^[Index].Position.X:= + IW / 2;
Buffer.List^[Index].Position.Y:= - IH / 2;
Buffer.List^[Index].Position.Z:= 0;
So they form a rectangle around origo.
Original comment by andreas....@gmail.com
on 17 Feb 2011 at 6:47
MatrixMultiply returns TVector4f but possition need TVector3f! I could not
make it works...
If possible, please complete the function for me! =)
Original comment by wagenhei...@gmail.com
on 20 Feb 2011 at 6:05
Original comment by andreas....@gmail.com
on 8 Aug 2013 at 2:11
Original issue reported on code.google.com by
wagenhei...@gmail.com
on 11 Feb 2011 at 12:12