Lines Matching refs:fZ
36 SkScalar mag = SkScalarSqrt(fX*fX + fY*fY + fZ*fZ); in normalize()
41 unit->fZ = fZ * scale; in normalize()
43 unit->fX = unit->fY = unit->fZ = 0; in normalize()
49 return a.fX * b.fX + a.fY * b.fY + a.fZ * b.fZ; in Dot()
57 SkScalar x = a.fY * b.fZ - a.fZ * b.fY; in Cross()
58 SkScalar y = a.fZ * b.fX - a.fX * b.fY; in Cross()
86 SkScalar cx = fU.fY * fV.fZ - fU.fZ * fV.fY; in dotWith()
87 SkScalar cy = fU.fZ * fV.fX - fU.fX * fV.fY; in dotWith()
205 fObserver.set(0, 0, fLocation.fZ); in reset()
221 SkScalar dot = SkUnit3D::Dot(SkUnit3D{fZenith.fX, fZenith.fY, fZenith.fZ}, axis); in doUpdate()
225 zenith.fZ = fZenith.fZ - dot * axis.fZ; in doUpdate()
227 SkPoint3D{zenith.fX, zenith.fY, zenith.fZ}.normalize(&zenith); in doUpdate()
236 SkScalar z = fObserver.fZ; in doUpdate()
254 orien->set(SkMatrix::kMTransX, x * axis.fZ - z * cross.fZ); in doUpdate()
257 orien->set(SkMatrix::kMTransY, y * axis.fZ - z * zenith.fZ); in doUpdate()
260 orien->set(SkMatrix::kMPersp2, axis.fZ); in doUpdate()
277 diff.fZ = quilt.fOrigin.fZ - fLocation.fZ; in patchToMatrix()
279 dot = SkUnit3D::Dot(SkUnit3D{diff.fX, diff.fY, diff.fZ}, in patchToMatrix()
356 return fCamera.fLocation.fZ / 72.0f; in getCameraLocationZ()