Lines Matching full:cross
52 void SkUnit3D::Cross(const SkUnit3D& a, const SkUnit3D& b, SkUnit3D* cross) { in Cross() function in SkUnit3D
53 SkASSERT(cross); in Cross()
55 // use x,y,z, in case &a == cross or &b == cross in Cross()
61 cross->set(x, y, z); in Cross()
215 SkUnit3D axis, zenith, cross; in doUpdate() local
217 // construct a orthonormal basis of cross (x), zenith (y), and axis (z) in doUpdate()
230 SkUnit3D::Cross(axis, zenith, &cross); in doUpdate()
245 // |____________\ cross in doUpdate()
252 orien->set(SkMatrix::kMScaleX, x * axis.fX - z * cross.fX); in doUpdate()
253 orien->set(SkMatrix::kMSkewX, x * axis.fY - z * cross.fY); in doUpdate()
254 orien->set(SkMatrix::kMTransX, x * axis.fZ - z * cross.fZ); in doUpdate()