include/cglib/point3.h File Reference

#include "cglib/vector3.h"

Go to the source code of this file.

Classes

struct  Point3
 Represents a point in 3D. More...

Functions

float distance (const Point3 &p1, const Point3 &p2)
 Return the distance between the two given points.
float distance_squared (const Point3 &p1, const Point3 &p2)
 Return the square of the distance between the two given points.


Function Documentation

float distance ( const Point3 p1,
const Point3 p2 
) [inline]

Return the distance between the two given points.

float distance_squared ( const Point3 p1,
const Point3 p2 
) [inline]

Return the square of the distance between the two given points.


Generated on Tue Sep 8 02:20:35 2009 for cglib by  doxygen 1.5.9