Lines Matching defs:length
23 static SkV2 Normalize(SkV2 v) { return v * (1.0f / v.length()); }
41 SkScalar length() const { return SkScalarSqrt(this->lengthSquared()); }
63 static SkV3 Normalize(const SkV3& v) { return v * (1.0f / v.length()); }
83 SkScalar length() const { return SkScalarSqrt(Dot(*this, *this)); }
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
311 * Set this matrix to rotate about the specified unit-length axis vector,
314 * This does not attempt to verify that axis.length() == 1.
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.