Searched refs:randomFloatBetween (Results 1 – 7 of 7) sorted by relevance
/external/angle/samples/particle_system/ |
D | ParticleSystem.cpp | 94 mParticles[i].lifetime = mRNG.randomFloatBetween(0.0f, 1.0f); in initialize() 96 float endAngle = mRNG.randomFloatBetween(0, 2.0f * float(M_PI)); in initialize() 97 float endRadius = mRNG.randomFloatBetween(0.0f, 2.0f); in initialize() 102 float startAngle = mRNG.randomFloatBetween(0, 2.0f * float(M_PI)); in initialize() 103 float startRadius = mRNG.randomFloatBetween(0.0f, 0.25f); in initialize() 141 Vector3 centerPos(mRNG.randomFloatBetween(-0.5f, 0.5f), in step() 142 mRNG.randomFloatBetween(-0.5f, 0.5f), in step() 143 mRNG.randomFloatBetween(-0.5f, 0.5f)); in step() 147 Vector4 color(mRNG.randomFloatBetween(0.0f, 1.0f), mRNG.randomFloatBetween(0.0f, 1.0f), in step() 148 mRNG.randomFloatBetween(0.0f, 1.0f), 0.5f); in step()
|
/external/angle/util/ |
D | random_utils.h | 38 float randomFloatBetween(float min, float max); 78 rng.randomFloatBetween(minValue, maxValue), rng.randomFloatBetween(minValue, maxValue), in RandomVec4() 79 rng.randomFloatBetween(minValue, maxValue), rng.randomFloatBetween(minValue, maxValue)); in RandomVec4()
|
D | random_utils.cpp | 66 float RNG::randomFloatBetween(float min, float max) in randomFloatBetween() function in angle::RNG 81 return randomFloatBetween(-1.0f, 1.0f); in randomNegativeOneToOne()
|
/external/angle/src/tests/gl_tests/gles1/ |
D | TextureEnvTest.cpp | 318 GLColor32F envColor(rng.randomFloatBetween(0.0f, 1.0f), rng.randomFloatBetween(0.0f, 1.0f), in TEST_P() 319 rng.randomFloatBetween(0.0f, 1.0f), rng.randomFloatBetween(0.0f, 1.0f)); in TEST_P()
|
D | LightsTest.cpp | 257 const GLfloat spotlightExponent = rng.randomFloatBetween(0.0f, 128.0f); in TEST_P() 259 rng.randomBool() ? rng.randomFloatBetween(0.0f, 90.0f) : 180.0f; in TEST_P()
|
/external/angle/src/tests/gl_tests/ |
D | OcclusionQueriesTest.cpp | 739 float depth = context.visiblePasses[pass] ? mRNG.randomFloatBetween(0.0f, 0.4f) in TEST_P() 740 : mRNG.randomFloatBetween(0.6f, 1.0f); in TEST_P()
|
D | TransformFeedbackTest.cpp | 167 float z = (loopIdx + 1 == loopCount) ? finalZ : rng.randomFloatBetween(0.1f, 0.5f); in TEST_P()
|