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

Classes

class  kanzi::Vector4
 Vector with 4 floating point components: (x, y, z, w). More...
 

Namespaces

 kanzi
 

Functions

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