Home
last modified time | relevance | path

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

/external/skqp/include/utils/
DSkCamera.h18 struct SkUnit3D { struct
24 static SkScalar Dot(const SkUnit3D&, const SkUnit3D&); argument
25 static void Cross(const SkUnit3D&, const SkUnit3D&, SkUnit3D* cross);
34 SkScalar normalize(SkUnit3D*) const;
/external/skia/include/utils/
DSkCamera.h18 struct SkUnit3D { struct
24 static SkScalar Dot(const SkUnit3D&, const SkUnit3D&); argument
25 static void Cross(const SkUnit3D&, const SkUnit3D&, SkUnit3D* cross);
34 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(SkUnit3D{fZenith.fX, fZenith.fY, fZenith.fZ}, axis); in doUpdate()
230 SkUnit3D::Cross(axis, zenith, &cross); in doUpdate()
279 dot = SkUnit3D::Dot(SkUnit3D{diff.fX, diff.fY, diff.fZ}, in patchToMatrix()
280 SkUnit3D{mapPtr[6], mapPtr[7], mapPtr[8]}); in patchToMatrix()
/external/skqp/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(SkUnit3D{fZenith.fX, fZenith.fY, fZenith.fZ}, axis); in doUpdate()
230 SkUnit3D::Cross(axis, zenith, &cross); in doUpdate()
279 dot = SkUnit3D::Dot(SkUnit3D{diff.fX, diff.fY, diff.fZ}, in patchToMatrix()
280 SkUnit3D{mapPtr[6], mapPtr[7], mapPtr[8]}); in patchToMatrix()