Home | History | Annotate | Download | only in smoke

Lines Matching refs:axis

104     current_.axis = glm::normalize(glm::vec3(x, y, z));
114 current_.matrix = glm::rotate(current_.matrix, current_.speed * t, current_.axis);
185 CircleCurve(float radius, glm::vec3 axis)
190 if (axis.x != 0.0f) {
191 a.x = -axis.z / axis.x;
194 } else if (axis.y != 0.0f) {
196 a.y = -axis.x / axis.y;
201 a.z = -axis.x / axis.z;
205 b_ = glm::normalize(glm::cross(a_, axis));
265 glm::vec3 axis(dir(rng_), dir(rng_), dir(rng_));
266 if (axis.x == 0.0f && axis.y == 0.0f && axis.z == 0.0f)
267 axis.x = 1.0f;
270 curve = new CircleCurve(radius_(rng_), axis);