|
Vector4 | kanzi::componentAbs (Vector4 v) |
| Calculates component-wise absolute value for all elements and returns resulting vector.
|
|
Vector4 | kanzi::componentAdd (Vector4 v, float scalar) |
| Adds a value to all elements of a vector and returns the result.
|
|
bool | kanzi::componentAllGreaterThan (Vector4 a, Vector4 b) |
| Returns whether each component of the first vector is greater than the corresponding component of the second vector.
|
|
bool | kanzi::componentAllGreaterThanOrEqual (Vector4 a, Vector4 b) |
| Returns whether each component of the first vector is greater than or equal to the corresponding component of the second vector.
|
|
bool | kanzi::componentAllLessThan (Vector4 a, Vector4 b) |
| Returns whether each component of the first vector is less than the corresponding component of the second vector.
|
|
bool | kanzi::componentAllLessThanOrEqual (Vector4 a, Vector4 b) |
| Returns whether each component of the first vector is less than or equal to the corresponding component of the second vector.
|
|
Vector4 | kanzi::componentCeil (Vector4 v) |
| Calculates component-wise ceil value for all elements and returns resulting vector.
|
|
Vector4 | kanzi::componentFloor (Vector4 v) |
| Calculates component-wise floor value for all elements and returns resulting vector.
|
|
Vector4 | kanzi::componentRound (Vector4 v) |
| Calculates component-wise rounded value for all elements and returns resulting vector.
|
|
Vector4 | kanzi::componentSqrt (Vector4 v) |
| Calculates component-wise square root all elements and returns resulting vector.
|
|
Vector4 | kanzi::componentSubtract (Vector4 v, float scalar) |
| Subtracts a value from all elements of a vector and returns the result.
|
|
Vector4 | kanzi::componentWiseDivide (Vector4 v1, Vector4 v2) |
| Divides component-wise all vector elements and returns the resulting vector.
|
|
Vector4 | kanzi::componentWiseMax (Vector4 v1, Vector4 v2) |
| Calculates the component-wise maximum for all vector elements and returns the resulting vector.
|
|
Vector4 | kanzi::componentWiseMin (Vector4 v1, Vector4 v2) |
| Calculates the component-wise minimum for all vector elements and returns the resulting vector.
|
|
Vector4 | kanzi::componentWiseMultiply (Vector4 v1, Vector4 v2) |
| Multiplies component-wise all vector elements and returns the resulting vector.
|
|
Vector4 | kanzi::componentWiseRemainder (Vector4 v1, Vector4 v2) |
| Calculates component-wise the remainder for all vector elements and returns the resulting vector.
|
|
Vector4 | kanzi::crossProduct (Vector4 v1, Vector4 v2) |
| Calculates the cross product of two vectors.
|
|
float | kanzi::dotProduct (Vector4 v1, Vector4 v2) |
| Calculates the dot product of two vectors.
|
|
Vector4 | kanzi::hslTosRGBColor (const Vector4 &vec) |
| Converts a Vector4 from HSLA color space to RGBA color space.
|
|
Vector4 | kanzi::linearTosRGB (const Vector4 &vec) |
| Conversion to whole Vector4 from linear to sRGB.
|
|
bool | kanzi::operator!= (Vector4 v1, Vector4 v2) |
| Compares two vectors for inequality.
|
|
Vector4 | kanzi::operator* (float scalar, Vector4 v) |
| Multiplies all vector elements with a scalar and returns the resulting vector.
|
|
Vector4 | kanzi::operator* (Vector4 v, float scalar) |
| Multiplies all vector elements with a scalar and returns the resulting vector.
|
|
Vector4 | kanzi::operator+ (float v1, Vector4 v2) |
| Adds a scalar and a vector and returns the sum.
|
|
Vector4 | kanzi::operator+ (Vector4 v) |
| Unary plus, doesn't do anything and returns the resulting vector.
|
|
Vector4 | kanzi::operator+ (Vector4 v1, float v2) |
| Adds a vector and a scalar and returns the sum.
|
|
Vector4 | kanzi::operator+ (Vector4 v1, Vector4 v2) |
| Adds two vectors and returns the sum.
|
|
Vector4 | kanzi::operator- (Vector4 v) |
| Negates all vector elements and returns the resulting vector.
|
|
Vector4 | kanzi::operator- (Vector4 v1, Vector4 v2) |
| Subtracts two vectors and returns the difference.
|
|
Vector4 | kanzi::operator/ (Vector4 v, float scalar) |
| Divides all vector elements with a scalar and returns the resulting vector.
|
|
bool | kanzi::operator== (Vector4 v1, Vector4 v2) |
| Compares two vectors for equality.
|
|
Vector4 | kanzi::sRGBToHSLColor (const Vector4 &vec) |
| Converts a Vector4 from RGBA color space to HSLA color space.
|
|
Vector4 | kanzi::sRGBToLinear (const Vector4 &vec) |
| Conversion to whole Vector4 from sRGB to linear.
|
|