KiCad PCB EDA Suite
|
#include "3d_fastmath.h"
Go to the source code of this file.
Functions | |
float | Fast_RandFloat () |
int | Fast_rand (void) |
void | Fast_srand (unsigned int seed) |
Variables | |
static int | s_randSeed = 1 |
static unsigned long int | s_nextRandSeed = 1 |
int Fast_rand | ( | void | ) |
Definition at line 58 of file 3d_fastmath.cpp.
References s_nextRandSeed.
Referenced by POST_SHADER_SSAO::Shade().
float Fast_RandFloat | ( | ) |
Definition at line 45 of file 3d_fastmath.cpp.
References s_randSeed.
Referenced by RAYPACKET::RAYPACKET(), RAYPACKET_InitRays_with2DDisplacement(), and UniformRandomHemisphereDirection().
void Fast_srand | ( | unsigned int | seed | ) |
Definition at line 65 of file 3d_fastmath.cpp.
References s_nextRandSeed.
|
static |
Definition at line 56 of file 3d_fastmath.cpp.
Referenced by Fast_rand(), and Fast_srand().
|
static |
Definition at line 41 of file 3d_fastmath.cpp.
Referenced by Fast_RandFloat().