#include <glvector.h>
Public Member Functions | |
| GLVector (GLfloat i, GLfloat j, GLfloat k) | |
| GLVector (const GLVector &gv) | |
| GLVector (const GLfloat *) | |
| TEST_FUNC (void unitTest()) | |
| void | set (const GLVector &v) |
| void | set (const GLfloat *f) |
| void | set (GLfloat _i, GLfloat _j, GLfloat _k) |
| const GLfloat * | get () const |
| const GLfloat | getX () const |
| const GLfloat | getY () const |
| const GLfloat | getZ () const |
| void | glScale () const |
| void | glRotate (GLfloat ang) const |
| void | glTranslate () const |
| void | glUnTranslate () const |
| void | glVertex () const |
| void | glNormal () const |
| const GLVector | operator+ (const GLVector gv) const |
| const GLVector | operator- (const GLVector gv) const |
| const GLVector | operator * (const GLfloat f) const |
| const GLVector | operator/ (const GLfloat f) const |
| GLVector & | operator+= (const GLVector gv) |
| GLVector & | operator-= (const GLVector gv) |
| GLVector & | operator *= (const GLfloat f) |
| GLVector & | operator/= (const GLfloat f) |
| GLVector & | operator= (const GLVector &v) |
| const GLVector | operator- () const |
| const GLfloat | dot (const GLVector &gv) const |
| GLfloat | length () const |
| GLfloat | lengthSqr () const |
| const GLVector | getCross (const GLVector &gv) const |
| GLVector & | cross (const GLVector &gv) |
| const GLVector | unit () const |
| GLVector & | normalize () |
| const GLfloat | projection (GLVector in) const |
| GLVector | orthogonalProjection (const GLVector &in) const |
| GLVector | vectorProjection (const GLVector &in) const |
| void | saveToStream (std::ostream &out) |
| GLVector (GLfloat i, GLfloat j, GLfloat k) | |
| GLVector (const GLVector &gv) | |
| GLVector (const GLfloat *) | |
| TEST_FUNC (void unitTest()) | |
| void | set (const GLVector &v) |
| void | set (const GLfloat *f) |
| void | set (GLfloat _i, GLfloat _j, GLfloat _k) |
| const GLfloat * | get () const |
| const GLfloat | getX () const |
| const GLfloat | getY () const |
| const GLfloat | getZ () const |
| void | glScale () const |
| void | glRotate (GLfloat ang) const |
| void | glTranslate () const |
| void | glUnTranslate () const |
| void | glVertex () const |
| void | glNormal () const |
| const GLVector | operator+ (const GLVector gv) const |
| const GLVector | operator- (const GLVector gv) const |
| const GLVector | operator * (const GLfloat f) const |
| const GLVector | operator/ (const GLfloat f) const |
| GLVector & | operator+= (const GLVector gv) |
| GLVector & | operator-= (const GLVector gv) |
| GLVector & | operator *= (const GLfloat f) |
| GLVector & | operator/= (const GLfloat f) |
| GLVector & | operator= (const GLVector &v) |
| const GLVector | operator- () const |
| const GLfloat | dot (const GLVector &gv) const |
| GLfloat | length () const |
| GLfloat | lengthSqr () const |
| const GLVector | getCross (const GLVector &gv) const |
| GLVector & | cross (const GLVector &gv) |
| const GLVector | unit () const |
| GLVector & | normalize () |
| const GLfloat | projection (GLVector in) const |
| GLVector | orthogonalProjection (const GLVector &in) const |
| GLVector | vectorProjection (const GLVector &in) const |
| void | saveToStream (std::ostream &out) |
Static Public Attributes | |
| char | tag [20] |
Friends | |
|
std::basic_istream< char, std::char_traits< char > > & | operator>> (std::basic_istream< char, std::char_traits< char > > &in, GLVector &vec) |
|
std::basic_ostream< char, std::char_traits< char > > & | operator<< (std::basic_ostream< char, std::char_traits< char > > &out, GLVector &vec) |
|
std::basic_istream< char, std::char_traits< char > > & | operator>> (std::basic_istream< char, std::char_traits< char > > &in, GLVector &vec) |
|
std::basic_ostream< char, std::char_traits< char > > & | operator<< (std::basic_ostream< char, std::char_traits< char > > &out, GLVector &vec) |
1.3.3