Archived

This topic is now archived and is closed to further replies.

masonium

viewport matrix

Recommended Posts

What are the dimension of the viewport matrix? 4x1, 1x4, 2x2? And what do the numbers stand for? (Sorry, I know someone already asked that, but I forgot)

Share this post


Link to post
Share on other sites
All OpenGL matrices are 4x4 but you didn''t specify an API so I dunno... I''ve never done Direct3D or Glide successfully...

Share this post


Link to post
Share on other sites
To my knowledge in oGL the vieport is just 4 integers defining the upper left corner (x,y) of your viewport, its width and its height...

Share this post


Link to post
Share on other sites