#include <iostream>
#include <limits>
#include <mt/exception.h>
#include <mt/point3.h>
#include <mt/scalar.h>
#include <mt/vector3.h>
Go to the source code of this file.
Functions |
std::ostream & | mt::operator<< (std::ostream &os, const Sphere3 &s) |
Point3 | mt::project (const Point3 &p, const Sphere3 &s) |
| Projects point p on sphere s.
|
Scalar | mt::distance (const Point3 &p, const Sphere3 &s) |
| Distance from point p to sphere s.
|
Scalar | mt::distance (const Sphere3 &s, const Point3 &p) |
| Distance from point p to sphere s.
|
Detailed Description