#include <DistanceMethodsx.h>
Static Public Member Functions | |
| static FixedPointx | distancePointPointx (const FixedPointx a[3], const FixedPointx b[3]) |
| static FixedPointx | squareDistancePointPointx (const FixedPointx a[3], const FixedPointx b[3]) |
| static GLvoid | closestPointFromTriangleToPointx (FixedPointx result[3], const FixedPointx a[3], const FixedPointx b[3], const FixedPointx c[3], const FixedPointx p[3]) |
| static GLvoid ES3D::DistanceMethodsx::closestPointFromTriangleToPointx | ( | FixedPointx | result[3], | |
| const FixedPointx | a[3], | |||
| const FixedPointx | b[3], | |||
| const FixedPointx | c[3], | |||
| const FixedPointx | p[3] | |||
| ) | [inline, static] |
Calculates the closest point from a triangle to a given point.
| result | the closest point | |
| a | point a | |
| b | point b | |
| c | point c | |
| p | the point to calculate the closest point to |
| static FixedPointx ES3D::DistanceMethodsx::distancePointPointx | ( | const FixedPointx | a[3], | |
| const FixedPointx | b[3] | |||
| ) | [inline, static] |
Distance between two points.
| a | first point | |
| b | second point |
| static FixedPointx ES3D::DistanceMethodsx::squareDistancePointPointx | ( | const FixedPointx | a[3], | |
| const FixedPointx | b[3] | |||
| ) | [inline, static] |
Square distance between two points.
| a | first point | |
| b | second point |
1.4.7