|
3D vectors
Detailed Description
Function Documentation
double dotprod |
( |
const vec3 & |
v1, |
|
|
const vec3 & |
v2 | |
|
) |
| | [related, inherited] |
Returns the dot product of v1 and v2.
Definition at line 107 of file vec3.h.
vec3 crossprod |
( |
const vec3 & |
a, |
|
|
const vec3 & |
b | |
|
) |
| | [related, inherited] |
Returns the cross product of a and b.
Definition at line 112 of file vec3.h.
std::ostream & operator<< |
( |
std::ostream & |
os, |
|
|
const vec3 & |
v | |
|
) |
| | [related, inherited] |
Writes v to os.
Definition at line 117 of file vec3.h.
Generated on Fri Jun 18 16:12:29 2010 for LevelS C++ support library
|
|