26 return sqrt(
x*
x +
y*
y +
z*
z);
30 return kmyMath::Vector3(
x,
y,
z);
39 float l = sqrt(v.
x * v.
x + v.
y * v.
y + v.
z * v.
z);
103 return v1.
x * v2.
x + v1.
y * v2.
y + v1.
z * v2.
z;
109 tmp.
x = v1.
y * v2.
z - v1.
z * v2.
y;
110 tmp.
y = v1.
z * v2.
x - v1.
x * v2.
z;
111 tmp.
z = v1.
x * v2.
y - v1.
y * v2.
x;
Definition: RefCapture.h:3
float y
Definition: Vector3.h:10
float z
Definition: Vector3.h:10
static Vector3 operator*(Vector3 v, float f)
Definition: Vector3.h:65
static Vector3 crossProduct(Vector3 v1, Vector3 v2)
Definition: Vector3.h:106
static Vector3 one
Definition: Vector3.h:115
float x
Definition: Vector3.h:10
static Vector3 zero
Definition: Vector3.h:116
Vector3(float v)
Definition: Vector3.h:12
static Vector3 operator/(Vector3 v, float f)
Definition: Vector3.h:83
static float dotProduct(Vector3 v1, Vector3 v2)
Definition: Vector3.h:101
static Vector3 normalize(Vector3 v)
Definition: Vector3.h:37
kmyMath::Vector3 toNative()
Definition: Vector3.h:29
static Vector3 operator*(Vector3 v1, Vector3 v2)
Definition: Vector3.h:74
Vector3(float _x, float _y, float _z)
Definition: Vector3.h:17
static Vector3 operator+(Vector3 v1, Vector3 v2)
Definition: Vector3.h:56
static Vector3 operator-(Vector3 v1, Vector3 v2)
Definition: Vector3.h:47
static Vector3 fromNative(const kmyMath::Vector3 &v)
Definition: Vector3.h:33
float length()
Definition: Vector3.h:24