Scaling
Scaling can be archived by the following matrix:
The s components are the scaling factor in the x-,y- and z-directions. If they are all the same then the scaling is uniform.
In OpenGL you can do scaling with the following code:
glMatrixMode(GL_MODELVIEW); glScalef(sx,sy, sz); |
No Comments »
No comments yet.
RSS feed for comments on this post. TrackBack URI





















