Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/ocean.c
| Context not available. | |||||
| static float gaussRand(RNG *rng) | static float gaussRand(RNG *rng) | ||||
| { | { | ||||
| /* NOTE: to avoid numerical problems with very small numbers, we make these variables | /* NOTE: to avoid numerical problems with very small numbers, we make these variables | ||||
| * singe-precision floats, but later we call the double-precision log() and sqrt() functions | * single-precision floats, but later we call the double-precision log() and sqrt() functions | ||||
| * instead of logf() and sqrtf(). */ | * instead of logf() and sqrtf(). */ | ||||
| float x; | float x; | ||||
| float y; | float y; | ||||
| Context not available. | |||||