8#ifndef SkPoint3_DEFINED
9#define SkPoint3_DEFINED
31 return a.fX ==
b.fX &&
a.fY ==
b.fY &&
a.fZ ==
b.fZ;
83 return {
a.fX -
b.fX,
a.fY -
b.fY,
a.fZ -
b.fZ };
89 return {
a.fX +
b.fX,
a.fY +
b.fY,
a.fZ +
b.fZ };
109 return { t *
p.fX, t *
p.fY, t *
p.fZ };
123 return a.fX *
b.fX +
a.fY *
b.fY +
a.fZ *
b.fZ;
static bool SkIsFinite(T x, Pack... values)
double DotProduct(const Vector2dF &lhs, const Vector2dF &rhs)
double CrossProduct(const Vector2dF &lhs, const Vector2dF &rhs)
SIN Vec< N, float > normalize(const Vec< N, float > &v)
friend SkPoint3 operator+(const SkPoint3 &a, const SkPoint3 &b)
void operator+=(const SkPoint3 &v)
friend bool operator==(const SkPoint3 &a, const SkPoint3 &b)
SkPoint3 cross(const SkPoint3 &vec) const
static SkPoint3 CrossProduct(const SkPoint3 &a, const SkPoint3 &b)
friend SkPoint3 operator*(SkScalar t, SkPoint3 p)
static SkPoint3 Make(SkScalar x, SkScalar y, SkScalar z)
void operator-=(const SkPoint3 &v)
friend SkPoint3 operator-(const SkPoint3 &a, const SkPoint3 &b)
static SkScalar Length(SkScalar x, SkScalar y, SkScalar z)
SkPoint3 makeScale(SkScalar scale) const
friend bool operator!=(const SkPoint3 &a, const SkPoint3 &b)
SkScalar dot(const SkPoint3 &vec) const
void set(SkScalar x, SkScalar y, SkScalar z)
static SkScalar DotProduct(const SkPoint3 &a, const SkPoint3 &b)
SkPoint3 operator-() const
void scale(SkScalar value)