|
MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Kinesis::apply_rotation | ( | std::vector< glm::vec3 > & | vertices, |
| const glm::vec3 & | axis, | ||
| float | angle, | ||
| const glm::vec3 & | origin = glm::vec3(0) |
||
| ) |
Apply rotation to vertex set around arbitrary axis.
| vertices | Vertices to transform (modified in-place) |
| axis | Rotation axis (will be normalized) |
| angle | Rotation angle in radians (right-hand rule) |
| origin | Rotation center (default: world origin) |
Definition at line 181 of file GeometryPrimitives.cpp.
References apply_transform().
Here is the call graph for this function: