ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

TinyGL::Vector3 Class Reference

#include <zmath.h>

List of all members.

Public Member Functions

 Vector3 ()
 Vector3 (float x, float y, float z)
void normalize ()
float getLength () const
bool operator== (const Vector3 &other) const
bool operator!= (const Vector3 &other) const
Vector3 operator- () const
Vector3 operator* (float factor) const
Vector3 operator+ (const Vector3 &other) const
Vector3 operator- (const Vector3 &other) const
Vector3operator*= (float factor)
Vector3operator+= (float value)
Vector3operator-= (float value)

Public Attributes

float _v [3]

Detailed Description

Definition at line 40 of file zmath.h.


Constructor & Destructor Documentation

TinyGL::Vector3::Vector3 (  )  [inline]

Definition at line 42 of file zmath.h.

TinyGL::Vector3::Vector3 ( float  x,
float  y,
float  z 
) [inline]

Definition at line 43 of file zmath.h.


Member Function Documentation

float TinyGL::Vector3::getLength (  )  const [inline]

Definition at line 51 of file zmath.h.

void TinyGL::Vector3::normalize (  ) 

Definition at line 166 of file zmath.cpp.

bool TinyGL::Vector3::operator!= ( const Vector3 other  )  const [inline]

Definition at line 57 of file zmath.h.

Vector3 TinyGL::Vector3::operator* ( float  factor  )  const [inline]

Definition at line 65 of file zmath.h.

Vector3& TinyGL::Vector3::operator*= ( float  factor  )  [inline]

Definition at line 77 of file zmath.h.

Vector3 TinyGL::Vector3::operator+ ( const Vector3 other  )  const [inline]

Definition at line 69 of file zmath.h.

Vector3& TinyGL::Vector3::operator+= ( float  value  )  [inline]

Definition at line 84 of file zmath.h.

Vector3 TinyGL::Vector3::operator- ( const Vector3 other  )  const [inline]

Definition at line 73 of file zmath.h.

Vector3 TinyGL::Vector3::operator- (  )  const [inline]

Definition at line 61 of file zmath.h.

Vector3& TinyGL::Vector3::operator-= ( float  value  )  [inline]

Definition at line 91 of file zmath.h.

bool TinyGL::Vector3::operator== ( const Vector3 other  )  const [inline]

Definition at line 53 of file zmath.h.


Member Data Documentation

Definition at line 98 of file zmath.h.


The documentation for this class was generated from the following files:


Generated on Sat May 18 2019 05:07:38 for ResidualVM by doxygen 1.7.1
curved edge   curved edge