Lines Matching defs:axis
223 static SkM44 Rotate(SkV3 axis, SkScalar radians) {
225 m.setRotate(axis, radians);
302 * Set this matrix to rotate about the specified unit-length axis vector,
305 * This does not attempt to verify that axis.length() == 1 or that the sin,cos values
308 SkM44& setRotateUnitSinCos(SkV3 axis, SkScalar sinAngle, SkScalar cosAngle);
311 * Set this matrix to rotate about the specified unit-length axis vector,
314 * This does not attempt to verify that axis.length() == 1.
316 SkM44& setRotateUnit(SkV3 axis, SkScalar radians) {
317 return this->setRotateUnitSinCos(axis, SkScalarSin(radians), SkScalarCos(radians));
321 * Set this matrix to rotate about the specified axis vector,
324 * Note: axis is not assumed to be unit-length, so it will be normalized internally.
325 * If axis is already unit-length, call setRotateAboutUnitRadians() instead.
327 SkM44& setRotate(SkV3 axis, SkScalar radians);