13
struct { GLfloat x; GLfloat y; GLfloat z; };
20
Vector3f(GLfloat pX, GLfloat pY, GLfloat pZ);
26
Vector3f &operator=(const Vector3f &pV);
27
Vector3f &operator+=(const Vector3f &pV);
28
Vector3f &operator-=(const Vector3f &pV);
29
Vector3f &operator*=(float pF);
30
Vector3f &operator/=(float pF);
31
Vector3f &operator*=(double pF);
34
extern Vector3f operator+(const Vector3f &pA, const Vector3f &pB);
35
extern Vector3f operator-(const Vector3f &pA, const Vector3f &pB);
36
extern Vector3f operator*(const Vector3f &pA, const float &pB);
37
extern Vector3f operator/(const Vector3f &pA, const float &pB);
39
extern Vector3f operator*(const Vector3f &pA, const double &pB);
41
extern float dot(const Vector3f &pA, const Vector3f &pB);
42
extern Vector3f cross(const Vector3f &pA, const Vector3f &pB);
43
extern Vector3f normal(const Vector3f &pA, const Vector3f &pB, const Vector3f &pC);