Home
last modified time | relevance | path

Searched defs:SkV3 (Results 1 – 1 of 1) sorted by relevance

/external/skia/include/core/
DSkM44.h51 struct SK_API SkV3 { struct
54 bool operator==(const SkV3& v) const { argument
59 static SkScalar Dot(const SkV3& a, const SkV3& b) { return a.x*b.x + a.y*b.y + a.z*b.z; } in Dot() argument
60 static SkV3 Cross(const SkV3& a, const SkV3& b) { in Cross() argument
63 static SkV3 Normalize(const SkV3& v) { return v * (1.0f / v.length()); } in Normalize() argument
85 SkScalar dot(const SkV3& v) const { return Dot(*this, v); } in dot() argument
86 SkV3 cross(const SkV3& v) const { return Cross(*this, v); } in cross() argument
87 SkV3 normalize() const { return Normalize(*this); } in normalize() argument
89 const float* ptr() const { return &x; } in ptr()
90 float* ptr() { return &x; } in ptr()