[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: "Coordination of admins/developers of the game programming library Allegro" <alleg-developers@xxxxxxxxxx>
- Subject: Re: [AD] 5.1?
- From: "Trent Gamblin" <trent@xxxxxxxxxx>
- Date: Mon, 26 Apr 2010 17:45:14 -0600 (MDT)
On Mon, April 26, 2010 5:37 pm, Pavel Sountsov said:
> glOrtho just happens to be one 3D transformation that plays nicely with
> 2D transformations (it has many zeroes in it). Regardless of that,
> sticking strictly with 2D functions gives me identical results for both
> OGL and the 2D transformations. See the attached code for an example.
Strange. Here is the output I get from that program:
OpenGL:
-0.031058 0.193185 0.000000 0.000000
0.061006 0.027244 -0.000000 -0.000000
0.000000 0.000000 0.022222 0.000000
-491.855225 579.183411 -1.222222 1.000000
A5:
-0.031058 0.061006 0.000000 0.000000
0.193185 0.027244 0.000000 0.000000
0.000000 0.000000 0.022222 0.000000
6.172939 -2.702831 -1.222222 1.000000
Max Deviation: 581.886230
Trent :{)>