njGenerateFogTable2 | Japanese
    <-|INDEX|->
Creates Fog Table and Sets Density.

### FORMAT

      #include <Ninja.h>

      void njGenerateFogTable2(fog, f)
      NJS_FOG_TABLE   fog
      Float           f

### PARAMETERS

NJS_FOG_TABLE fog
  Fog tabel to be created
Float f
  Fog back boundary

### RETURN VALUE

  None

### FUNCTION

- Makes fog occur from front 255/f to back f.

### EXAMPLE

  Makes white fog from front -255/4000 to back -4000.

      NJS_FOG_TABLE fog;

      njSetFogColor(0xffffffff);
      njGenerateFogTable2(fog, -4000,f);
      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

- Fog density is set automatically.
- It can't be used with Fade feature against the same object.

### RELATED TOPICS

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

njGenerateFogTable2 |
    <-|INDEX|->