Home | History | Annotate | Download | only in utils

Lines Matching defs:Cross

52 void SkUnit3D::Cross(const SkUnit3D& a, const SkUnit3D& b, SkUnit3D* cross) {
53 SkASSERT(cross);
55 // use x,y,z, in case &a == cross or &b == cross
61 cross->set(x, y, z);
215 SkUnit3D axis, zenith, cross;
229 SkUnit3D::Cross(axis, zenith, &cross);
237 orien->set(SkMatrix::kMScaleX, x * axis.fX - z * cross.fX);
238 orien->set(SkMatrix::kMSkewX, x * axis.fY - z * cross.fY);
239 orien->set(SkMatrix::kMTransX, x * axis.fZ - z * cross.fZ);