njSetScreen | Japanese
    <-|INDEX|->
Sets the screen.

### FORMAT

      #include <Ninja.h>
      void njSetScreen(*s)
      NJS_SCREEN *s

### PARAMETERS

*s
  screen structure pointer

### RETURN VALUE

  None

### FUNCTION

- Initializes the screen according to screen structure values set by the user.

### EXAMPLE

      #define SCR_DIST   500.f        //distance from view point (view)
      #define SCR_WIDTH  640.f        ///screen width
      #define SCR_HEIGHT 480.f        //screen height
      #define SCR_CX     SCR_WIDTH/2  //center of screen (X axis)
      #define SCR_CY     SCR_HEIGHT/2 //center of screen (Y axis)

      NJS_SCREEN scr;

      scr.dist = SCR_DIST;
      scr.w = SCR_WIDTH;
      scr.h = SCR_HEIGHT;
      scr.cx = SCR_CX;
      scr.cy = SCR_CY;

      njSetScreen(&scr);

### NOTES

- Since the screen is initialized as indicated above by njInitSystem(), use of this function is optional unless required by the user.

### RELATED TOPICS

  njInitSystem()

njSetScreen |
    <-|INDEX|->