Samplewelcome Address
Si:
u = x * (w / a) v = y * (i / h) The matrix representing this transformation is:
<=1)
glViewport: glViewport function selects the portion of the window that can be drawn in OpenGL, the way defined is: void
glViewport (Glint x, Glint and GLsizei width, GLsizei height);
where x and y are the parameters that specify the lower left corner of the window, these parameters generally both zero, the width parameter and height the size of the window in pixels.
0 comments:
Post a Comment