##### Ninja Library - View Function

# njSetAspect

Sets the screen aspect ratio

### FORMAT

`

  void njSetAspect( ax, ay )
  Flaot ax
  Flaot ay

`

### PARAMETER

  `ax` | Horizontal screen ratio
  `ay` | Vertical screen ratio

### RETURN

  None

### DESCRIPTION

  Sets the screen aspect ratio.

### EXAMPLE

      The following sets the vertical:horizontal screen aspect to 2:3.
      njSetAspect(3.f, 2.f);

### NOTE

  Since the screen aspect is initialized to 1:1 by `njInitSystem()` function, use of this function is optional unless required by the user.

### REFERENCE

  `njInitSystem()
  `

njSetAspect

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999