#include "Math.h"
#include <iosfwd>
#include "Point.h"
Go to the source code of this file.
Data Structures | |
class | Vector |
Functions | |
Vector | operator * (double s, const Vector &v) |
double | Dot (const Vector &v1, const Vector &v2) |
Vector | Cross (const Vector &v1, const Vector &v2) |
Vector | Min (const Vector &p1, const Vector &p2) |
Vector | Max (const Vector &p1, const Vector &p2) |
std::ostream & | operator<< (std::ostream &, const Vector &v) |
Definition in file Vector.h.
|
Definition at line 146 of file Vector.h. References Vector::x(), Vector::y(), and Vector::z(). Referenced by Triangle::intersect(), Cyl::intersect(), Triangle::normal(), and PinholeCamera::preprocess(). |
|
Definition at line 141 of file Vector.h. References Vector::x(), Vector::y(), and Vector::z(). Referenced by Triangle::intersect(), Sphere::intersect(), Ring::intersect(), Plane::intersect(), Cyl::intersect(), Cyl::normal(), Plane::Plane(), Ring::Ring(), and LambertianMaterial::shade(). |
|
Definition at line 158 of file Vector.h. References Max(), Vector::x(), Vector::y(), and Vector::z(). Referenced by BoundingBox::extend(), Max(), Vector::maxComponent(), and Color::maxComponent(). |
|
Definition at line 153 of file Vector.h. References Min(), Vector::x(), Vector::y(), and Vector::z(). Referenced by BoundingBox::extend(), Min(), and Vector::minComponent(). |
|
Definition at line 137 of file Vector.h. References Vector::x(), Vector::y(), and Vector::z(). |
|
Definition at line 8 of file Vector.cc. References Vector::x(), Vector::y(), and Vector::z(). |