Lines Matching defs:rng_
78 rng_(rng_seed),
87 return glm::vec3{ red_(rng_),
88 green_(rng_),
89 blue_(rng_) };
93 std::mt19937 rng_;
102 : rng_(rng_seed), dir_(-1.0f, 1.0f), speed_(0.1f, 1.0f)
104 float x = dir_(rng_);
105 float y = dir_(rng_);
106 float z = dir_(rng_);
112 current_.speed = speed_(rng_);
142 : rng_(rng_seed), direction_(-0.3f, 0.3f), duration_(1.0f, 5.0f),
163 segment_direction_ = glm::vec3(direction_(rng_),
164 direction_(rng_),
165 direction_(rng_));
168 time_duration_ = duration_(rng_);
175 std::mt19937 rng_;
229 : rng_(rng_seed), type_(0, CURVE_COUNT - 1), duration_(5.0f, 20.0f)
248 float duration = duration_(rng_);
249 CurveType type = static_cast<CurveType>(type_(rng_));
256 current_.origin = glm::vec3(origin(rng_), origin(rng_), origin(rng_));
266 curve = new RandomCurve(rng_());
271 glm::vec3 axis(dir(rng_), dir(rng_), dir(rng_));
276 curve = new CircleCurve(radius_(rng_), axis);