#include <SkM44.h>
Definition at line 56 of file SkM44.h.
◆ Cross()
◆ cross()
SkV3 SkV3::cross |
( |
const SkV3 & |
v | ) |
const |
|
inline |
Definition at line 91 of file SkM44.h.
91{
return Cross(*
this, v); }
static SkV3 Cross(const SkV3 &a, const SkV3 &b)
◆ Dot()
◆ dot()
Definition at line 90 of file SkM44.h.
90{
return Dot(*
this, v); }
static SkScalar Dot(const SkV3 &a, const SkV3 &b)
◆ length()
◆ lengthSquared()
Definition at line 87 of file SkM44.h.
87{
return Dot(*
this, *
this); }
◆ normalize()
SkV3 SkV3::normalize |
( |
| ) |
const |
|
inline |
Definition at line 92 of file SkM44.h.
static SkV3 Normalize(const SkV3 &v)
◆ Normalize()
static SkV3 SkV3::Normalize |
( |
const SkV3 & |
v | ) |
|
|
inlinestatic |
Definition at line 68 of file SkM44.h.
68{
return v * (1.0f / v.
length()); }
◆ operator!=()
bool SkV3::operator!= |
( |
const SkV3 & |
v | ) |
const |
|
inline |
Definition at line 62 of file SkM44.h.
62{ return !(*this == v); }
◆ operator*()
SkV3 SkV3::operator* |
( |
const SkV3 & |
v | ) |
const |
|
inline |
Definition at line 74 of file SkM44.h.
74 {
75 return {
x*v.
x,
y*v.
y,
z*v.
z };
76 }
◆ operator*=() [1/2]
◆ operator*=() [2/2]
void SkV3::operator*= |
( |
SkV3 |
v | ) |
|
|
inline |
◆ operator+()
SkV3 SkV3::operator+ |
( |
const SkV3 & |
v | ) |
const |
|
inline |
Definition at line 71 of file SkM44.h.
71{
return {
x + v.
x,
y + v.
y,
z + v.
z }; }
◆ operator+=()
void SkV3::operator+= |
( |
SkV3 |
v | ) |
|
|
inline |
◆ operator-() [1/2]
SkV3 SkV3::operator- |
( |
| ) |
const |
|
inline |
Definition at line 70 of file SkM44.h.
70{
return {-
x, -
y, -
z}; }
◆ operator-() [2/2]
SkV3 SkV3::operator- |
( |
const SkV3 & |
v | ) |
const |
|
inline |
Definition at line 72 of file SkM44.h.
72{
return {
x - v.
x,
y - v.
y,
z - v.
z }; }
◆ operator-=()
void SkV3::operator-= |
( |
SkV3 |
v | ) |
|
|
inline |
◆ operator==()
bool SkV3::operator== |
( |
const SkV3 & |
v | ) |
const |
|
inline |
Definition at line 59 of file SkM44.h.
59 {
60 return x == v.
x &&
y == v.
y &&
z == v.
z;
61 }
◆ ptr() [1/2]
◆ ptr() [2/2]
const float * SkV3::ptr |
( |
| ) |
const |
|
inline |
◆ operator* [1/2]
Definition at line 77 of file SkM44.h.
77 {
78 return { v.
x*
s, v.
y*
s, v.
z*
s };
79 }
◆ operator* [2/2]
The documentation for this struct was generated from the following file:
- third_party/skia/include/core/SkM44.h