Hi All,
A square Box type mesh created using DirectX in C#.net appears to me as a Rectangle, and not exactly a square.
And also whenven I am resizing the window, it is getting changed.
I want to display a square even when I resize the window.
Can anyone plz help me.
Thanks for your support.
Posted May 3, 2008, 7:17 AM
to get the aspect ratio of the screen, use the equation width / height and put the answer in the camera ratio property, most screen resolutions give 1.333 recuring, however some resolutions give different answers resulting in rectangular looking boxes and oval shaped spheres, which is what is happening to you.