Game Development Reference
In-Depth Information
The preceding code produces the following result:
As you can see, both the images appear squashed either in the x or y axis. This happens
because we are trying to fit two times of the pixels on the given axis than the screen al-
lows us to. You might recognize the effect since it is similar to placing a texture onto a
surface, which has different dimensions from the texture.
Search WWH ::




Custom Search