njSetPerspective Japanese
<-|INDEX|->
Sets the perspective in horizontal direction.

FORMAT

#include <Ninja.h>
void njSetPerspective(NJM_DEG_ANG(ang))
Angle ang

PARAMETERS

NJM_DEG_ANG(ang)
perspective in horizontal direction

RETURN VALUE

None

FUNCTION

Calculates the distance from the specified perspective in horizontal direction to the screen and sets the distance.

EXAMPLE

Sets the perspective in horizontal direction to 120 degrees.
njInitSystem( NJD_RESOLUTION_VGA, NJD_FRAMEBUFFER_MODE_RGB555, 1 );
njSetPerspective(NJM_DEG_ANG(120));

NOTES


RELATED TOPICS


njSetPerspective
<-|INDEX|->

Copyright SEGA ENTERPRISES, LTD., 1997