Oolite 1.91.0.7658-250404-b1488af
All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Modules Pages
TextureStore.h File Reference
import "OOStellarBody.h"
import "OOCocoa.h"
import "OOOpenGL.h"
+ Include dependency graph for TextureStore.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TextureStore
 

Functions

void fillRanNoiseBuffer ()
 

Function Documentation

◆ fillRanNoiseBuffer()

void fillRanNoiseBuffer ( )

Definition at line 181 of file TextureStore.m.

182{
184
185 int i;
186 for (i = 0; i < 16384; i++)
187 ranNoiseBuffer[i] = randf();
188}
static RANROTSeed sNoiseSeed
static float ranNoiseBuffer[128 *128]
float randf(void)
RANROTSeed RANROTGetFullSeed(void)

References randf(), ranNoiseBuffer, RANROTGetFullSeed(), and sNoiseSeed.

Referenced by PlanetEntity(OOPrivate)::cloudTextureWithCloudColor:cloudImpress:cloudBias:, and PlanetEntity(OOPrivate)::planetTextureWithInfo:.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: