All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
vector3.hpp File Reference

Classes

class  kanzi::Vector3
 Vector with 3 floating point components: (x, y, z). More...
 

Namespaces

 kanzi
 

Functions

Vector3 kanzi::componentWiseMax (Vector3 v1, Vector3 v2)
 Calculates the component wise maximum for all vector elements and returns the resulting vector. More...
 
Vector3 kanzi::componentWiseMin (Vector3 v1, Vector3 v2)
 Calculates the component wise minimum for all vector elements and returns the resulting vector. More...
 
Vector3 kanzi::componentWiseMultiply (Vector3 v1, Vector3 v2)
 Does component wise multiply for all vector elements and returns the resulting vector. More...
 
Vector3 kanzi::operator+ (Vector3 v1, Vector3 v2)
 Adds two vectors and returns the sum. More...
 
Vector3 kanzi::operator- (Vector3 v1, Vector3 v2)
 Subtracts two vectors and returns the difference. More...
 
Vector3 kanzi::operator* (Vector3 v, float scalar)
 Multiplies all vector elements with a scalar and returns the resulting vector. More...
 
Vector3 kanzi::operator* (float scalar, Vector3 v)
 Multiplies all vector elements with a scalar and returns the resulting vector. More...
 
Vector3 kanzi::operator/ (Vector3 v, float scalar)
 Divides all vector elements with a scalar and returns the resulting vector. More...
 
Vector3 kanzi::operator- (Vector3 v)
 Negates all vector elements and returns the resulting vector. More...
 
Vector3 kanzi::operator+ (Vector3 v)
 Unary plus, doesn't do anything and returns the resulting vector. More...
 
bool kanzi::operator== (Vector3 v1, Vector3 v2)
 Compares two vectors for equality. More...
 
bool kanzi::operator!= (Vector3 v1, Vector3 v2)
 Compares two vectors for inequality. More...
 
float kanzi::dotProduct (Vector3 v1, Vector3 v2)
 Calculates the dot product of two vectors. More...
 
Vector3 kanzi::crossProduct (Vector3 v1, Vector3 v2)
 Calculates the cross product of two vectors. More...