njSetAspect
Japanese
<-
|
INDEX
|
->
Sets the screen aspect ratio.
FORMAT
#include <Ninja.h> void njSetAspect(ax, ay) Float ax Float ay
PARAMETERS
ax
horizontal screen ratio
ay
vertical screen ratio
RETURN VALUE
None
FUNCTION
Sets the screen aspect ratio.
EXAMPLE
The following sets the vertical:horizontal screen aspect to 2:3.
njSetAspect(3.f, 2.f);
NOTES
Since the screen aspect is initialized to 1:1 by njInitSystem(), use of this function is optional unless required by the user.
RELATED TOPICS
njInitSystem()
njSetAspect
<-
|
INDEX
|
->
Copyright SEGA ENTERPRISES, LTD., 1997