njGenerateFogTable | Japanese
    <-|INDEX|->
Creates Fog Table.

### FORMAT

      #include <Ninja.h>

      void njGenerateFogTable(fog)
      NJS_FOG_TABLE   fog

### PARAMETERS

NJS_FOG_TABLE fog
  Fog table to be made

### RETURN VALUE

  None

### FUNCTION

- Sets each value of the fog table from 0.f to 1.f in linear.

### EXAMPLE

  Creates white fog from front -1 to back -255.

      NJS_FOG_TABLE fog;

      njSetFogColor(0xffffffff);
      njSetFogDensity(0xff07);
      njGenerateFogTable(fog);
      njSetFogTable(fog);
      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()
  njSetFogDensity()
  njSetFogTable()
  njFogEnable()
  njFogDisable()
  njGenerateFogTable()
  njGenerateFogTable2()
  njGenerateFogTable3()

njGenerateFogTable |
    <-|INDEX|->