Functions | |
double | Compute_Vector_Angle (const HC_POINT *vector, const HC_POINT *vector2) |
double | DCompute_Vector_Angle (const HC_DVECTOR *vector, const HC_DVECTOR *vector2) |
double Compute_Vector_Angle | ( | const HC_POINT * | vector, |
const HC_POINT * | vector2 | ||
) |
vector | - Input 3D vector. |
vector2 | - Input 3D vector. |
Compute_Vector_Angle() returns the angle of a vector, in degrees. The angle will always be a positive number between 0 and 180.
double DCompute_Vector_Angle | ( | const HC_DVECTOR * | vector, |
const HC_DVECTOR * | vector2 | ||
) |
Similar to Compute_Vector_Angle(), but operates on double-precision data.
vector | - Input 3D vector. |
vector2 | - Input 3D vector. |