Lines Matching refs:SkPoint3
13 struct SK_API SkPoint3 { struct
16 static SkPoint3 Make(SkScalar x, SkScalar y, SkScalar z) { in Make() argument
17 SkPoint3 pt; in Make()
28 friend bool operator==(const SkPoint3& a, const SkPoint3& b) { argument
32 friend bool operator!=(const SkPoint3& a, const SkPoint3& b) {
42 SkScalar length() const { return SkPoint3::Length(fX, fY, fZ); } in length() argument
52 SkPoint3 makeScale(SkScalar scale) const { in makeScale() argument
53 SkPoint3 p; in makeScale()
69 SkPoint3 operator-() const { argument
70 SkPoint3 neg; argument
80 friend SkPoint3 operator-(const SkPoint3& a, const SkPoint3& b) {
81 SkPoint3 v; argument
88 friend SkPoint3 operator+(const SkPoint3& a, const SkPoint3& b) {
89 SkPoint3 v; argument
96 void operator+=(const SkPoint3& v) {
104 void operator-=(const SkPoint3& v) {
112 static SkScalar DotProduct(const SkPoint3& a, const SkPoint3& b) { in DotProduct() argument
116 SkScalar dot(const SkPoint3& vec) const { in dot() argument
121 typedef SkPoint3 SkVector3;
122 typedef SkPoint3 SkColor3f;