Lines Matching refs:vec3
85 glm::vec3 pick() in pick()
87 return glm::vec3{ red_(rng_), in pick()
110 current_.axis = glm::normalize(glm::vec3(x, y, z)); in Animation()
115 current_.matrix = glm::scale(glm::mat4(1.0f), glm::vec3(current_.scale)); in Animation()
128 virtual glm::vec3 evaluate(float t) = 0;
148 glm::vec3 evaluate(float t) in evaluate()
163 segment_direction_ = glm::vec3(direction_(rng_), in new_segment()
179 glm::vec3 segment_start_;
180 glm::vec3 segment_direction_;
184 glm::vec3 unit_dir_;
185 glm::vec3 pos_;
191 CircleCurve(float radius, glm::vec3 axis) in CircleCurve()
194 glm::vec3 a; in CircleCurve()
214 glm::vec3 evaluate(float t) in evaluate()
216 return (a_ * (glm::vec3(std::cos(t)) - glm::vec3(1.0f)) + b_ * glm::vec3(std::sin(t))) * in evaluate()
217 glm::vec3(r_); in evaluate()
222 glm::vec3 a_;
223 glm::vec3 b_;
236 glm::vec3 Path::position(float t) in position()
256 current_.origin = glm::vec3(origin(rng_), origin(rng_), origin(rng_)); in generate_subpath()
271 glm::vec3 axis(dir(rng_), dir(rng_), dir(rng_)); in generate_subpath()
301 glm::vec3(0.5 + 0.5 * (float) i / object_count), in Simulation()
323 glm::vec3 pos = obj.path.position(time); in update()