Home
last modified time | relevance | path

Searched refs:SkUnit3D (Results 1 – 2 of 2) sorted by relevance

/external/skia/include/utils/
DSkCamera.h17 struct SkUnit3D { struct
23 static SkScalar Dot(const SkUnit3D&, const SkUnit3D&); argument
24 static void Cross(const SkUnit3D&, const SkUnit3D&, SkUnit3D* cross);
33 SkScalar normalize(SkUnit3D*) const;
/external/skia/src/utils/
DSkCamera.cpp35 SkScalar SkPoint3D::normalize(SkUnit3D* unit) const { in normalize()
48 SkScalar SkUnit3D::Dot(const SkUnit3D& a, const SkUnit3D& b) { in Dot()
52 void SkUnit3D::Cross(const SkUnit3D& a, const SkUnit3D& b, SkUnit3D* cross) { in Cross()
215 SkUnit3D axis, zenith, cross; in doUpdate()
221 SkScalar dot = SkUnit3D::Dot(*SkTCast<const SkUnit3D*>(&fZenith), axis); in doUpdate()
230 SkUnit3D::Cross(axis, zenith, &cross); in doUpdate()
279 dot = SkUnit3D::Dot(*SkTCast<const SkUnit3D*>(&diff), in patchToMatrix()
280 *SkTCast<const SkUnit3D*>(SkTCast<const SkScalar*>(&fOrientation) + 6)); in patchToMatrix()