Home | History | Annotate | Download | only in functional

Lines Matching refs:m_random

90 	de::Random					m_random;
108 , m_random (deStringHash(spec.name.c_str()))
423 int clearCount = m_random.getInt(minClearCount, maxClearCount);
427 int clearX = m_random.getInt(0, width - minClearSize);
428 int clearY = m_random.getInt(0, height - minClearSize);
430 int clearWidth = m_random.getInt(minClearSize, width - clearX);
431 int clearHeight = m_random.getInt(minClearSize, height - clearY);
433 float clearRed = m_colorScale * m_random.getFloat();
434 float clearGreen = m_colorScale * m_random.getFloat();
435 float clearBlue = m_colorScale * m_random.getFloat();
436 float clearAlpha = m_colorScale * (0.5f + 0.5f * m_random.getFloat());
452 int triangleCount = m_random.getInt(minTriangleCount, maxTriangleCount);
456 float x1 = 2.0f * m_random.getFloat() - 1.0f;
457 float y1 = 2.0f * m_random.getFloat() - 1.0f;
458 float z1 = 2.0f * m_random.getFloat() - 1.0f;
460 float x2 = 2.0f * m_random.getFloat() - 1.0f;
461 float y2 = 2.0f * m_random.getFloat() - 1.0f;
462 float z2 = 2.0f * m_random.getFloat() - 1.0f;
464 float x3 = 2.0f * m_random.getFloat() - 1.0f;
465 float y3 = 2.0f * m_random.getFloat() - 1.0f;
466 float z3 = 2.0f * m_random.getFloat() - 1.0f;