Lines Matching refs:axis
73 SkV3 axis, zenith, cross;
75 // construct a orthonormal basis of cross (x), zenith (y), and axis (z)
76 axis = fAxis.normalize();
78 zenith = fZenith - (axis * fZenith) * axis;
81 cross = axis.cross(zenith);
87 // Looking along the view axis we have:
97 // So this does a z-shear along the view axis based on the observer's x and y values,
101 orien->set(SkMatrix::kMScaleX, x * axis.x - z * cross.x);
102 orien->set(SkMatrix::kMSkewX, x * axis.y - z * cross.y);
103 orien->set(SkMatrix::kMTransX, x * axis.z - z * cross.z);
104 orien->set(SkMatrix::kMSkewY, y * axis.x - z * zenith.x);
105 orien->set(SkMatrix::kMScaleY, y * axis.y - z * zenith.y);
106 orien->set(SkMatrix::kMTransY, y * axis.z - z * zenith.z);
107 orien->set(SkMatrix::kMPersp0, axis.x);
108 orien->set(SkMatrix::kMPersp1, axis.y);
109 orien->set(SkMatrix::kMPersp2, axis.z);
127 // the view axis (which is 'dot'). This transforms the patch (which transforms from local path