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

TinyGL::Vector4 Class Reference

#include <zmath.h>

List of all members.

Public Member Functions

 Vector4 ()
 Vector4 (const Vector3 &vec, float w)
 Vector4 (float x, float y, float z, float w)
bool operator== (const Vector4 &other) const
bool operator!= (const Vector4 &other) const
Vector4 operator- () const
Vector4 operator* (float factor) const
Vector4 operator+ (const Vector4 &other) const
Vector4 operator- (const Vector4 &other) const
Vector4operator*= (float factor)
Vector4operator+= (float value)
Vector4operator-= (float value)

Public Attributes

float _v [4]

Detailed Description

Definition at line 101 of file zmath.h.


Constructor & Destructor Documentation

TinyGL::Vector4::Vector4 (  )  [inline]

Definition at line 103 of file zmath.h.

TinyGL::Vector4::Vector4 ( const Vector3 vec,
float  w 
)

Definition at line 175 of file zmath.cpp.

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

Definition at line 106 of file zmath.h.


Member Function Documentation

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

Definition at line 117 of file zmath.h.

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

Definition at line 125 of file zmath.h.

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

Definition at line 137 of file zmath.h.

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

Definition at line 129 of file zmath.h.

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

Definition at line 145 of file zmath.h.

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

Definition at line 121 of file zmath.h.

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

Definition at line 133 of file zmath.h.

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

Definition at line 153 of file zmath.h.

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

Definition at line 113 of file zmath.h.


Member Data Documentation

Definition at line 161 of file zmath.h.


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


Generated on Sat Nov 9 2019 05:02:32 for ResidualVM by doxygen 1.7.1
curved edge   curved edge