njSetFogTable | Japanese
    <-|INDEX|--
Sets a user-defined fog table.

### FORMAT

      #include <ninja.h>

      void njSetFogTable(fog)
      NJS_FOG_TABLE fog

### PARAMETERS

NJS_FOG_TABLE fog
  fog table

### RETURN VALUE

  None

### FUNCTION

- Sets a user-defined fog table.

### EXAMPLE

  Makes green fog from front -10000 to back -40000 in linear.

      NJS_FOG_TABLE fog;
      njGenerateFogTable3(fog, -10000, -40000);
      njSetFogTable(fog);
      njSetFogColor(0xff00ff00);
      njFogEnable();

                  :
          Drawing models etc.
                  :

      njFogDisable();

| The example above only explains the flow of the fog feature, and therefore, it is not for actual use.

### NOTES

- It can't be used with Fade feature against the same object.

### RELATED TOPICS

  njSetFogColor()
  njFogDensity()
  njSetFogTable()
  njFogEnable()
  njFogDisable()
  njGenerateFogTable()
  njGenerateFogTable2()
  njGenerateFogTable3()

njSetFogTable |
    <-|INDEX|--