Lines Matching defs:rnd
205 Random rnd (seed);
206 const GLsizei width = rnd.getInt(0, FRAMEBUFFER_SIZE);
207 const GLsizei height = rnd.getInt(0, FRAMEBUFFER_SIZE);
208 const GLint x = rnd.getInt(0, FRAMEBUFFER_SIZE - width);
209 const GLint y = rnd.getInt(0, FRAMEBUFFER_SIZE - height);
210 const GLfloat r1 = rnd.getFloat();
211 const GLfloat g1 = rnd.getFloat();
212 const GLfloat b1 = rnd.getFloat();
213 const GLfloat a1 = rnd.getFloat();
214 const GLfloat r2 = rnd.getFloat();
215 const GLfloat g2 = rnd.getFloat();
216 const GLfloat b2 = rnd.getFloat();
217 const GLfloat a2 = rnd.getFloat();
582 Random rnd(seed);
586 insert(params, "RED", floatToString(rnd.getFloat(), 4));
587 insert(params, "GREEN", floatToString(rnd.getFloat(), 4));
588 insert(params, "BLUE", floatToString(rnd.getFloat(), 4));
658 Random& rnd)
662 const GLint xOff = rnd.getInt(0, target.getWidth() - width);
664 const GLint yOff = rnd.getInt(0, target.getHeight() - height);
672 Random rnd (program);
676 VIEWPORT_SIZE, VIEWPORT_SIZE, rnd);