GLUS
|
#include "GL/glus.h"
Functions | |
GLUSvoid GLUSAPIENTRY | glusPoint4Copyf (GLUSfloat result[4], const GLUSfloat point[4]) |
Copies a 3D point, given as homogeneous coordinates. More... | |
GLUSvoid GLUSAPIENTRY | glusPoint3Copyf (GLUSfloat result[3], const GLUSfloat point[3]) |
Copies a 2D point, given as homogeneous coordinates. More... | |
GLUSvoid GLUSAPIENTRY | glusPoint4SubtractPoint4f (GLUSfloat result[3], const GLUSfloat point0[4], const GLUSfloat point1[4]) |
Subtracts a 3D point, given as homogeneous coordinates, from another and calculates a 3D vector. More... | |
GLUSvoid GLUSAPIENTRY | glusPoint3SubtractPoint3f (GLUSfloat result[2], const GLUSfloat point0[3], const GLUSfloat point1[3]) |
Subtracts a 2D point, given as homogeneous coordinates, from another and calculates a 2D vector. More... | |
GLUSvoid GLUSAPIENTRY | glusPoint4AddVector3f (GLUSfloat result[4], const GLUSfloat point[4], const GLUSfloat vector[3]) |
Adds a vector to a 3D point, given as homogeneous coordinates. More... | |
GLUSvoid GLUSAPIENTRY | glusPoint3AddVector2f (GLUSfloat result[3], const GLUSfloat point[3], const GLUSfloat vector[2]) |
Adds a vector to a 2D point, given as homogeneous coordinates. More... | |
GLUSvoid GLUSAPIENTRY | glusPoint4SubtractVector3f (GLUSfloat result[4], const GLUSfloat point[4], const GLUSfloat vector[3]) |
Subtracts a vector from a 3D point, given as homogeneous coordinates. More... | |
GLUSvoid GLUSAPIENTRY | glusPoint3SubtractVector2f (GLUSfloat result[3], const GLUSfloat point[3], const GLUSfloat vector[2]) |
Subtracts a vector from a 2D point, given as homogeneous coordinates. More... | |
GLUSvoid GLUSAPIENTRY | glusPoint4GetQuaternionf (GLUSfloat result[4], const GLUSfloat point[4]) |
Converts a 3D point, given as homogeneous coordinates, to a quaternion. More... | |
GLUSvoid GLUSAPIENTRY | glusPoint4GetVector3f (GLUSfloat result[3], const GLUSfloat point[4]) |
Converts a 3D point, given as homogeneous coordinates, to a vector. More... | |
GLUSvoid GLUSAPIENTRY | glusPoint3GetVector2f (GLUSfloat result[2], const GLUSfloat point[3]) |
Converts a 2D point, given as homogeneous coordinates, to a vector. More... | |
GLUSfloat GLUSAPIENTRY | glusPoint4Distancef (const GLUSfloat point0[4], const GLUSfloat point1[4]) |
Calculates the distance of two 3D points, given as homogeneous coordinates. More... | |
GLUSfloat GLUSAPIENTRY | glusPoint3Distancef (const GLUSfloat point0[3], const GLUSfloat point1[3]) |
Calculates the distance of two 2D points, given as homogeneous coordinates. More... | |
GLUSvoid GLUSAPIENTRY glusPoint3AddVector2f | ( | GLUSfloat | result[3], |
const GLUSfloat | point[3], | ||
const GLUSfloat | vector[2] | ||
) |
Adds a vector to a 2D point, given as homogeneous coordinates.
Result is the new point.
result | The resulting point. |
point | The point. |
vector | The vector, which is added to the point. |
GLUSvoid GLUSAPIENTRY glusPoint3Copyf | ( | GLUSfloat | result[3], |
const GLUSfloat | point[3] | ||
) |
Copies a 2D point, given as homogeneous coordinates.
result | The destination point. |
point | The source point. |
GLUSfloat GLUSAPIENTRY glusPoint3Distancef | ( | const GLUSfloat | point0[3], |
const GLUSfloat | point1[3] | ||
) |
Calculates the distance of two 2D points, given as homogeneous coordinates.
point0 | The first point. |
point1 | The second point. |
GLUSvoid GLUSAPIENTRY glusPoint3GetVector2f | ( | GLUSfloat | result[2], |
const GLUSfloat | point[3] | ||
) |
Converts a 2D point, given as homogeneous coordinates, to a vector.
result | The resulting vector. |
point | The point, which is converted. |
GLUSvoid GLUSAPIENTRY glusPoint3SubtractPoint3f | ( | GLUSfloat | result[2], |
const GLUSfloat | point0[3], | ||
const GLUSfloat | point1[3] | ||
) |
Subtracts a 2D point, given as homogeneous coordinates, from another and calculates a 2D vector.
result | The resulting vector. |
point0 | The point subtracted by point1. |
point1 | The point subtracted from point0. |
GLUSvoid GLUSAPIENTRY glusPoint3SubtractVector2f | ( | GLUSfloat | result[3], |
const GLUSfloat | point[3], | ||
const GLUSfloat | vector[2] | ||
) |
Subtracts a vector from a 2D point, given as homogeneous coordinates.
Result is the new point.
result | The resulting point. |
point | The point. |
vector | The vector, which is subtracted from the point. |
GLUSvoid GLUSAPIENTRY glusPoint4AddVector3f | ( | GLUSfloat | result[4], |
const GLUSfloat | point[4], | ||
const GLUSfloat | vector[3] | ||
) |
Adds a vector to a 3D point, given as homogeneous coordinates.
Result is the new point.
result | The resulting point. |
point | The point. |
vector | The vector, which is added to the point. |
GLUSvoid GLUSAPIENTRY glusPoint4Copyf | ( | GLUSfloat | result[4], |
const GLUSfloat | point[4] | ||
) |
Copies a 3D point, given as homogeneous coordinates.
result | The destination point. |
point | The source point. |
GLUSfloat GLUSAPIENTRY glusPoint4Distancef | ( | const GLUSfloat | point0[4], |
const GLUSfloat | point1[4] | ||
) |
Calculates the distance of two 3D points, given as homogeneous coordinates.
point0 | The first point. |
point1 | The second point. |
GLUSvoid GLUSAPIENTRY glusPoint4GetQuaternionf | ( | GLUSfloat | result[4], |
const GLUSfloat | point[4] | ||
) |
Converts a 3D point, given as homogeneous coordinates, to a quaternion.
result | The resulting quaternion. |
point | The point, which is converted. |
GLUSvoid GLUSAPIENTRY glusPoint4GetVector3f | ( | GLUSfloat | result[3], |
const GLUSfloat | point[4] | ||
) |
Converts a 3D point, given as homogeneous coordinates, to a vector.
result | The resulting vector. |
point | The point, which is converted. |
GLUSvoid GLUSAPIENTRY glusPoint4SubtractPoint4f | ( | GLUSfloat | result[3], |
const GLUSfloat | point0[4], | ||
const GLUSfloat | point1[4] | ||
) |
Subtracts a 3D point, given as homogeneous coordinates, from another and calculates a 3D vector.
result | The resulting vector. |
point0 | The point subtracted by point1. |
point1 | The point subtracted from point0. |
GLUSvoid GLUSAPIENTRY glusPoint4SubtractVector3f | ( | GLUSfloat | result[4], |
const GLUSfloat | point[4], | ||
const GLUSfloat | vector[3] | ||
) |
Subtracts a vector from a 3D point, given as homogeneous coordinates.
Result is the new point.
result | The resulting point. |
point | The point. |
vector | The vector, which is subtracted from the point. |