Searched refs:RandomFloat (Results 1 - 3 of 3) sorted by relevance
| /xsrc/external/mit/mesa-demos/dist/src/demos/ |
| H A D | cuberender.c | 57 RandomFloat(float min, float max) function in typeref:typename:float 81 float r = RandomFloat(5.0, 9.0); 82 float a = RandomFloat(0, 2 * M_PI); 86 Cylinders[i].Radius = RandomFloat(0.25, 1.0); 87 Cylinders[i].Height = RandomFloat(1.0, 7.0); 88 Cylinders[i].Color[0] = RandomFloat(0.25, 1.0); 89 Cylinders[i].Color[1] = RandomFloat(0.25, 1.0); 90 Cylinders[i].Color[2] = RandomFloat(0.25, 1.0); 91 Cylinders[i].Color[3] = RandomFloat(0.25, 1.0);
|
| /xsrc/external/mit/mesa-demos/dist/src/tests/ |
| H A D | random.c | 164 RandomFloat(float min, float max) function in typeref:typename:float 177 return RandomFloat(0.0, 1.0) <= percentile; 261 Vbuffer[Vcount].v[0] = RandomFloat(-3, 3); 262 Vbuffer[Vcount].v[1] = RandomFloat(-3, 3); 263 Vbuffer[Vcount].v[2] = RandomFloat(-3, 3); 264 Vbuffer[Vcount].v[3] = RandomFloat(-3, 3);
|
| /xsrc/external/mit/mesa-demos/dist/src/glsl/ |
| H A D | shtest.c | 94 RandomFloat(float min, float max) function in typeref:typename:float 110 Uniforms[i].value[0] = RandomFloat(0.0, 1.0); 120 Uniforms[i].value[0] = RandomFloat(-1.0, 2.0); 121 Uniforms[i].value[1] = RandomFloat(-1.0, 2.0); 122 Uniforms[i].value[2] = RandomFloat(-1.0, 2.0); 123 Uniforms[i].value[3] = RandomFloat(-1.0, 2.0);
|
Completed in 8 milliseconds