#include "vector3.h"
#include "matrix4.h"
#include <glt/gl.h>
#include <glt/glu.h>
#include <glt/viewport.h>
#include <misc/string.h>
#include <cassert>
#include <cmath>
#include <iostream>
#include <algorithm>
Include dependency graph for vector3.cpp:
Go to the source code of this file.
Functions | |
ostream & | operator<< (ostream &os, const Vector &x) |
Output vector to stream. | |
istream & | operator>> (istream &is, Vector &x) |
Input vector from stream. | |
Vector | operator * (const real x, const Vector &v) |
Vector scale. | |
Vector | operator * (const Vector &v, const real x) |
Vector scale. | |
Vector | operator/ (const Vector &v, const real x) |
Vector inverse scale. | |
Vector | operator+ (const Vector &v1, const Vector &v2) |
Vector addition. | |
Vector | operator- (const Vector &v1, const Vector &v2) |
Vector difference. | |
Vector | xProduct (const Vector &v1, const Vector &v2) |
Vector cross product. | |
Vector | planeNormal (const Vector &v1, const Vector &v2, const Vector &v3) |
Calculate normal from three points in plane. | |
Vector | polar (const real lat, const real longitude) |
Location on unit sphere. | |
void | orthogonalSystem (Vector &a, Vector &b, Vector &c) |
Create orthogonal co-ordinate system, based on a. |
Definition in file vector3.cpp.