Tiny vectors of dimension 3. More...
#include <tinyvec.hpp>
Public Types | |
enum | { X =0, Y =1, Z =2 } |
Public Member Functions | |
Vec3T (const F *f) | |
Vec3T (const F a, const F b, const F c) | |
Vec3T (const Vec3T &c) | |
operator F * () | |
operator const F * () const | |
F * | Data () |
F & | operator() (Int i) |
const F & | operator() (Int i) const |
F & | operator[] (Int i) |
const F & | operator[] (Int i) const |
Vec3T & | operator= (const Vec3T &c) |
Vec3T & | operator+= (const Vec3T &c) |
Vec3T & | operator-= (const Vec3T &c) |
Vec3T & | operator*= (const F &s) |
Vec3T & | operator/= (const F &s) |
F | l1 (void) const |
F | linfty (void) const |
F | l2 (void) const |
Tiny vectors of dimension 3.
The main use of tiny vectors is to represent a triplet of three indices (Index3) and three real numbers (Point3).