Support Forum       Library Source       SourceForge Page       G3D Web Page     
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
G3D::Vector3 Class Reference

Swizzles Vector classes have swizzle operators, e.g. More...

Public Types

enum  Axis {
  X_AXIS =0,
  Y_AXIS =1,
  Z_AXIS =2,
  DETECT_AXIS =-1
}
 

Public Member Functions

 Vector3 ()
 Initializes to zero.
 
 Vector3 (const Any &any)
 
 Vector3 (const Vector4int8 &)
 Divides by 127.
 
 Vector3 (const class Vector3int32 &v)
 
 Vector3 (class BinaryInput &b)
 
 Vector3 (float _x, float _y, float _z)
 
 Vector3 (const class Vector2 &v, float _z)
 
 Vector3 (float coordinate[3])
 
 Vector3 (double coordinate[3])
 
 Vector3 (const class Vector3int16 &v)
 
 Vector3 (class TextInput &t)
 
 Vector3 (const class Color3 &c)
 
float average () const
 
Vector3 clamp (const Vector3 &low, const Vector3 &high) const
 
Vector3 clamp (float low, float high) const
 
Vector3 __fastcall cross (const Vector3 &rkVector) const
 Cross product.
 
class Matrix3 cross () const
 Returns a matrix such that v.cross() * w = v.cross(w).
 
void deserialize (class BinaryInput &b)
 
void deserialize (class TextInput &t)
 
Vector3 direction () const
 Returns a unit-length version of this vector.
 
Vector3 directionOrZero () const
 Returns Vector3::zero() if the length is nearly zero, otherwise returns a unit vector.
 
float __fastcall dot (const Vector3 &rkVector) const
 
Vector3 fastDirection () const
 Potentially less accurate but faster than direction().
 
Vector3 fastUnit () const
 Returns a normalized vector.
 
Vector3 floor () const
 
bool fuzzyEq (const Vector3 &other) const
 
bool fuzzyNe (const Vector3 &other) const
 
void getTangents (Vector3 &X, Vector3 &Y) const
 Creates two orthonormal tangent vectors X and Y such that if Z = this, X x Y = Z.
 
size_t hashCode () const
 
bool isFinite () const
 Returns true if this vector has finite length.
 
bool isNaN () const
 True if any field is nan.
 
bool isUnit () const
 Returns true if this vector has length ~= 1.
 
bool isZero () const
 Returns true if this vector has length ~= 0.
 
float length () const
 Same as magnitude.
 
Vector3 lerp (const Vector3 &v, float alpha) const
 Linear interpolation.
 
float magnitude () const
 
Vector3 __fastcall max (const Vector3 &v) const
 
float max () const
 Largest element.
 
Vector3 __fastcall min (const Vector3 &v) const
 
float min () const
 Smallest element.
 
Vector3 movedTowards (const Vector3 &goal, float maxTranslation) const
 Returns a vector that is this translated towards goal with a maximum translation of maxTranslation.
 
void moveTowards (const Vector3 &goal, float maxTranslation)
 
bool nonZero () const
 
bool operator!= (const Vector3 &rkVector) const
 
Vector3 __fastcall operator* (float s) const
 
Vector3 __fastcall operator* (const Vector3 &v) const
 
Vector3 &__fastcall operator*= (float s)
 
Vector3 &__fastcall operator*= (const Vector3 &v)
 
Vector3 __fastcall operator+ (const Vector3 &v) const
 
Vector3 &__fastcall operator+= (const Vector3 &v)
 
Vector3 __fastcall operator- (const Vector3 &v) const
 
Vector3 __fastcall operator- () const
 
Vector3 &__fastcall operator-= (const Vector3 &v)
 
Vector3 __fastcall operator/ (float s) const
 
Vector3 __fastcall operator/ (const Vector3 &v) const
 
Vector3 &__fastcall operator/= (float s)
 
Vector3 &__fastcall operator/= (const Vector3 &v)
 
Vector3 &__fastcall operator= (const Vector3 &rkVector)
 
Vector3operator= (const Any &a)
 
bool operator== (const Vector3 &rkVector) const
 
const float &__fastcall operator[] (int i) const
 
float & operator[] (int i)
 
Vector3 pow (float p) const
 Raise each component of this vector to a power.
 
Axis primaryAxis () const
 Returns the largest dimension.
 
Vector3 reflectAbout (const Vector3 &normal) const
 Reflect this vector about the (not necessarily unit) normal.
 
Vector3 reflectionDirection (const Vector3 &normal) const
 See also G3D::Ray::reflect.
 
Vector3 refractionDirection (const Vector3 &normal, float iInside, float iOutside) const
 Returns the direction of a refracted ray, where iExit is the index of refraction for the previous material and iEnter is the index of refraction for the new material.
 
Vector3 round () const
 
void serialize (class BinaryOutput &b) const
 Format is three float32's.
 
void serialize (class TextOutput &t) const
 Format is "(%f, %f, %f)".
 
float squaredLength () const
 Same as squaredMagnitude.
 
float squaredMagnitude () const
 
float sum () const
 
Any toAny (const std::string &name) const
 Converts the Vector3 to an Any, using the specified name instead of "Vector3".
 
Any toAny () const
 Converts the Vector3 to an Any.
 
std::string toString () const
 
Vector3 unit () const
 Synonym for direction.
 
Vector3 unitCross (const Vector3 &rkVector) const
 
Vector2 xx () const
 
Vector3 xxx () const
 
Vector4 xxxx () const
 
Vector4 xxxy () const
 
Vector4 xxxz () const
 
Vector3 xxy () const
 
Vector4 xxyx () const
 
Vector4 xxyy () const
 
Vector4 xxyz () const
 
Vector3 xxz () const
 
Vector4 xxzx () const
 
Vector4 xxzy () const
 
Vector4 xxzz () const
 
Vector2 xy () const
 
Vector3 xyx () const
 
Vector4 xyxx () const
 
Vector4 xyxy () const
 
Vector4 xyxz () const
 
Vector3 xyy () const
 
Vector4 xyyx () const
 
Vector4 xyyy () const
 
Vector4 xyyz () const
 
Vector3 xyz () const
 
Vector4 xyzx () const
 
Vector4 xyzy () const
 
Vector4 xyzz () const
 
Vector2 xz () const
 
Vector3 xzx () const
 
Vector4 xzxx () const
 
Vector4 xzxy () const
 
Vector4 xzxz () const
 
Vector3 xzy () const
 
Vector4 xzyx () const
 
Vector4 xzyy () const
 
Vector4 xzyz () const
 
Vector3 xzz () const
 
Vector4 xzzx () const
 
Vector4 xzzy () const
 
Vector4 xzzz () const
 
Vector2 yx () const
 
Vector3 yxx () const
 
Vector4 yxxx () const
 
Vector4 yxxy () const
 
Vector4 yxxz () const
 
Vector3 yxy () const
 
Vector4 yxyx () const
 
Vector4 yxyy () const
 
Vector4 yxyz () const
 
Vector3 yxz () const
 
Vector4 yxzx () const
 
Vector4 yxzy () const
 
Vector4 yxzz () const
 
Vector2 yy () const
 
Vector3 yyx () const
 
Vector4 yyxx () const
 
Vector4 yyxy () const
 
Vector4 yyxz () const
 
Vector3 yyy () const
 
Vector4 yyyx () const
 
Vector4 yyyy () const
 
Vector4 yyyz () const
 
Vector3 yyz () const
 
Vector4 yyzx () const
 
Vector4 yyzy () const
 
Vector4 yyzz () const
 
Vector2 yz () const
 
Vector3 yzx () const
 
Vector4 yzxx () const
 
Vector4 yzxy () const
 
Vector4 yzxz () const
 
Vector3 yzy () const
 
Vector4 yzyx () const
 
Vector4 yzyy () const
 
Vector4 yzyz () const
 
Vector3 yzz () const
 
Vector4 yzzx () const
 
Vector4 yzzy () const
 
Vector4 yzzz () const
 
Vector2 zx () const
 
Vector3 zxx () const
 
Vector4 zxxx () const
 
Vector4 zxxy () const
 
Vector4 zxxz () const
 
Vector3 zxy () const
 
Vector4 zxyx () const
 
Vector4 zxyy () const
 
Vector4 zxyz () const
 
Vector3 zxz () const
 
Vector4 zxzx () const
 
Vector4 zxzy () const
 
Vector4 zxzz () const
 
Vector2 zy () const
 
Vector3 zyx () const
 
Vector4 zyxx () const
 
Vector4 zyxy () const
 
Vector4 zyxz () const
 
Vector3 zyy () const
 
Vector4 zyyx () const
 
Vector4 zyyy () const
 
Vector4 zyyz () const
 
Vector3 zyz () const
 
Vector4 zyzx () const
 
Vector4 zyzy () const
 
Vector4 zyzz () const
 
Vector2 zz () const
 
Vector3 zzx () const
 
Vector4 zzxx () const
 
Vector4 zzxy () const
 
Vector4 zzxz () const
 
Vector3 zzy () const
 
Vector4 zzyx () const
 
Vector4 zzyy () const
 
Vector4 zzyz () const
 
Vector3 zzz () const
 
Vector4 zzzx () const
 
Vector4 zzzy () const
 
Vector4 zzzz () const
 

Static Public Member Functions

static Vector3 cosHemiRandom (const Vector3 &n, Random &r=Random::common())
 Random unit vector, distributed according to $\max(\cos \theta,0)$.
 
static Vector3 cosPowHemiRandom (const Vector3 &n, const float k, Random &r=Random::common())
 Random unit vector, distributed according to $\max(\cos^k \theta,0)$.
 
static Vector3 cosSphereRandom (const Vector3 &n, Random &r=Random::common())
 
static Vector3 hemiRandom (const Vector3 &normal, Random &r=Random::common())
 Random vector distributed over the hemisphere about normal.
 
static Vector3ignore ()
 Can be passed to ignore a vector3 parameter.
 
static const Vector3inf ()
 
static const Vector3maxFinite ()
 Largest representable vector.
 
static const Vector3minFinite ()
 Smallest (most negative) representable vector.
 
static const Vector3nan ()
 
static const Vector3one ()
 
static void orthonormalize (Vector3 akVector[3])
 Gram-Schmidt orthonormalization.
 
static Vector3 random (Random &r=Random::common())
 Random unit vector, uniformly distributed on the sphere.
 
static const Vector3unitX ()
 
static const Vector3unitY ()
 
static const Vector3unitZ ()
 
static const Vector3zero ()
 

Public Attributes

float x
 
float y
 
float z
 

Detailed Description

Swizzles Vector classes have swizzle operators, e.g.

v.xy(), that allow selection of arbitrary sub-fields. These cannot be used as write masks. Examples

Vector3 v(1, 2, 3);
Vector3 j;
Vector2 b;
b = v.xz();
j = b.xx();

Warning

Do not subclass– this implementation makes assumptions about the memory layout.

Member Enumeration Documentation

Enumerator:
X_AXIS 
Y_AXIS 
Z_AXIS 
DETECT_AXIS 

Constructor & Destructor Documentation

G3D::Vector3::Vector3 ( )
inline
G3D::Vector3::Vector3 ( const Any any)
explicit
Parameters
anyMust either Vector3(#, #, #) or Vector3 {x = #, y = #, z = #}. Because Point3 is a typedef for Vector3 in the current implementation, this constructor accepts Point3(#, #, #), etc. as well.
G3D::Vector3::Vector3 ( const Vector4int8 )

Divides by 127.

G3D::Vector3::Vector3 ( const class Vector3int32 &  v)
G3D::Vector3::Vector3 ( class BinaryInput b)
explicit
G3D::Vector3::Vector3 ( float  _x,
float  _y,
float  _z 
)
inline
G3D::Vector3::Vector3 ( const class Vector2 v,
float  _z 
)
explicit
G3D::Vector3::Vector3 ( float  coordinate[3])
inlineexplicit
G3D::Vector3::Vector3 ( double  coordinate[3])
inlineexplicit
G3D::Vector3::Vector3 ( const class Vector3int16 v)
G3D::Vector3::Vector3 ( class TextInput t)
explicit
G3D::Vector3::Vector3 ( const class Color3 c)
explicit

Member Function Documentation

float G3D::Vector3::average ( ) const
inline
Vector3 G3D::Vector3::clamp ( const Vector3 low,
const Vector3 high 
) const
inline
Vector3 G3D::Vector3::clamp ( float  low,
float  high 
) const
inline
static Vector3 G3D::Vector3::cosHemiRandom ( const Vector3 n,
Random r = Random::common() 
)
static

Random unit vector, distributed according to $\max(\cos \theta,0)$.

That is, so that the probability of $\vec{V}$ is proportional to $\max(\vec{v} \cdot \vec{n}, 0)$. Useful in photon mapping for Lambertian scattering.

Distribution rendered by G3D::DirectionHistogram:

vector3-coshemirandom.png
Parameters
nUnit vector at the center of the distribution.
Referenced Code:
Henrik Wann Jensen, Realistic Image Synthesis using Photon Mapping eqn 2.24
static Vector3 G3D::Vector3::cosPowHemiRandom ( const Vector3 n,
const float  k,
Random r = Random::common() 
)
static

Random unit vector, distributed according to $\max(\cos^k \theta,0)$.

That is, so that the probability of $\vec{V}$ is proportional to $\max((\vec{v} \cdot \vec{n})^k, 0)$. Useful in photon mapping for glossy scattering.

Distribution rendered by G3D::DirectionHistogram:

vector3-cospowhemirandom.png
Parameters
nUnit vector at the center of the distribution.
Referenced Code:
Ashikhmin and Shirley, An anisotropic Phong BRDF model, Journal of Graphics Tools, 2002
static Vector3 G3D::Vector3::cosSphereRandom ( const Vector3 n,
Random r = Random::common() 
)
static
Vector3 G3D::Vector3::cross ( const Vector3 rkVector) const
inline

Cross product.

Note that two cross products in a row can be computed more cheaply: v1 x (v2 x v3) = (v1 dot v3) v2 - (v1 dot v2) v3.

Referenced by G3D::cross(), G3D::Tri::normal(), and G3D::Tri::tangent2().

class Matrix3 G3D::Vector3::cross ( ) const

Returns a matrix such that v.cross() * w = v.cross(w).

[ 0  -v.z  v.y ]
[ v.z  0  -v.x ]
[ -v.y v.x  0  ]

Referenced by getTangents().

void G3D::Vector3::deserialize ( class BinaryInput b)
void G3D::Vector3::deserialize ( class TextInput t)
Vector3 G3D::Vector3::direction ( ) const
inline

Returns a unit-length version of this vector.

Returns nan if length is almost zero.

Referenced by G3D::Box::axis(), G3D::CollisionDetection::collisionTimeForMovingPointFixedTriangle(), G3D::Line::Line(), unit(), and unitCross().

Vector3 G3D::Vector3::directionOrZero ( ) const
inline

Returns Vector3::zero() if the length is nearly zero, otherwise returns a unit vector.

Referenced by G3D::Tri::normal().

float G3D::Vector3::dot ( const Vector3 rkVector) const
inline
Vector3 G3D::Vector3::fastDirection ( ) const
inline

Potentially less accurate but faster than direction().

Only works if System::hasSSE is true.

Referenced by fastUnit().

Vector3 G3D::Vector3::fastUnit ( ) const
inline

Returns a normalized vector.

May be computed with lower precision than unit

Vector3 G3D::Vector3::floor ( ) const
inline
bool G3D::Vector3::fuzzyEq ( const Vector3 other) const
inline
bool G3D::Vector3::fuzzyNe ( const Vector3 other) const
inline
void G3D::Vector3::getTangents ( Vector3 X,
Vector3 Y 
) const
inline

Creates two orthonormal tangent vectors X and Y such that if Z = this, X x Y = Z.

size_t G3D::Vector3::hashCode ( ) const
static Vector3 G3D::Vector3::hemiRandom ( const Vector3 normal,
Random r = Random::common() 
)
static

Random vector distributed over the hemisphere about normal.

Distribution rendered by G3D::DirectionHistogram:

vector3-hemirandom.png
static Vector3& G3D::Vector3::ignore ( )
static

Can be passed to ignore a vector3 parameter.

static const Vector3& G3D::Vector3::inf ( )
static
bool G3D::Vector3::isFinite ( ) const
inline

Returns true if this vector has finite length.

Referenced by G3D::Plane::halfSpaceContainsFinite(), and G3D::AABox::isFinite().

bool G3D::Vector3::isNaN ( ) const

True if any field is nan.

Referenced by G3D::AABox::isEmpty(), and G3D::AABox::set().

bool G3D::Vector3::isUnit ( ) const
inline

Returns true if this vector has length ~= 1.

bool G3D::Vector3::isZero ( ) const
inline

Returns true if this vector has length ~= 0.

Referenced by Load3DS::readRotTrack().

float G3D::Vector3::length ( ) const
inline

Same as magnitude.

Referenced by G3D::ArrowShape::boundingSphere(), G3D::Box::extent(), and getTangents().

Vector3 G3D::Vector3::lerp ( const Vector3 v,
float  alpha 
) const
inline

Linear interpolation.

Referenced by G3D::lerp().

float G3D::Vector3::magnitude ( ) const
inline
Vector3 G3D::Vector3::max ( const Vector3 v) const
inline
float G3D::Vector3::max ( ) const
inline

Largest element.

static const Vector3& G3D::Vector3::maxFinite ( )
static
Vector3 G3D::Vector3::min ( const Vector3 v) const
inline
float G3D::Vector3::min ( ) const
inline

Smallest element.

static const Vector3& G3D::Vector3::minFinite ( )
static

Smallest (most negative) representable vector.

Referenced by G3D::PointKDTree< T, PositionFunc, HashFunc, EqualsFunc >::balance(), and G3D::Plane::halfSpaceContains().

Vector3 G3D::Vector3::movedTowards ( const Vector3 goal,
float  maxTranslation 
) const

Returns a vector that is this translated towards goal with a maximum translation of maxTranslation.

void G3D::Vector3::moveTowards ( const Vector3 goal,
float  maxTranslation 
)
static const Vector3& G3D::Vector3::nan ( )
static
bool G3D::Vector3::nonZero ( ) const
inline
static const Vector3& G3D::Vector3::one ( )
static
bool G3D::Vector3::operator!= ( const Vector3 rkVector) const
inline
Vector3 G3D::Vector3::operator* ( float  s) const
inline
Vector3 G3D::Vector3::operator* ( const Vector3 v) const
inline
Vector3 & G3D::Vector3::operator*= ( float  s)
inline
Vector3 & G3D::Vector3::operator*= ( const Vector3 v)
inline
Vector3 G3D::Vector3::operator+ ( const Vector3 v) const
inline
Vector3 & G3D::Vector3::operator+= ( const Vector3 v)
inline
Vector3 G3D::Vector3::operator- ( const Vector3 v) const
inline
Vector3 G3D::Vector3::operator- ( ) const
inline
Vector3 & G3D::Vector3::operator-= ( const Vector3 v)
inline
Vector3 __fastcall G3D::Vector3::operator/ ( float  s) const
inline
Vector3 G3D::Vector3::operator/ ( const Vector3 v) const
inline
Vector3& __fastcall G3D::Vector3::operator/= ( float  s)
inline
Vector3 & G3D::Vector3::operator/= ( const Vector3 v)
inline
Vector3 & G3D::Vector3::operator= ( const Vector3 rkVector)
inline
Vector3& G3D::Vector3::operator= ( const Any a)
bool G3D::Vector3::operator== ( const Vector3 rkVector) const
inline
const float & G3D::Vector3::operator[] ( int  i) const
inline
float & G3D::Vector3::operator[] ( int  i)
inline
static void G3D::Vector3::orthonormalize ( Vector3  akVector[3])
static

Gram-Schmidt orthonormalization.

Vector3 G3D::Vector3::pow ( float  p) const
inline

Raise each component of this vector to a power.

Axis G3D::Vector3::primaryAxis ( ) const

Returns the largest dimension.

Particularly convenient for determining which plane to project a triangle onto for point-in-polygon tests.

Referenced by G3D::PointKDTree< T, PositionFunc, HashFunc, EqualsFunc >::makeNode(), and G3D::KDTree< Triangle >::makeNode().

static Vector3 G3D::Vector3::random ( Random r = Random::common())
static

Random unit vector, uniformly distributed on the sphere.

Distribution rendered by G3D::DirectionHistogram:

vector3-random.png
Vector3 G3D::Vector3::reflectAbout ( const Vector3 normal) const

Reflect this vector about the (not necessarily unit) normal.

Assumes that both the before and after vectors point away from the base of the normal.

Note that if used for a collision or ray reflection you must negate the resulting vector to get a direction pointing away from the collision.

  V'    N      V
    r   ^   -,
     \  |  /
       |/

See also Vector3::reflectionDirection

Vector3 G3D::Vector3::reflectionDirection ( const Vector3 normal) const

See also G3D::Ray::reflect.

The length is 1.

  V'    N       V
    r   ^    /
     \  |  /
       |'-
Vector3 G3D::Vector3::refractionDirection ( const Vector3 normal,
float  iInside,
float  iOutside 
) const

Returns the direction of a refracted ray, where iExit is the index of refraction for the previous material and iEnter is the index of refraction for the new material.

Like Vector3::reflectionDirection, the result has length 1 and is pointed away from the intersection.

Returns Vector3::zero() in the case of total internal refraction.

Parameters
iOutsideThe index of refraction (eta) outside (on the positive normal side) of the surface.
iInsideThe index of refraction (eta) inside (on the negative normal side) of the surface.

See also G3D::Ray::refract.

         N      V
         ^    /
         |  /
         |'-
     __–
V'<–
Vector3 G3D::Vector3::round ( ) const
inline
void G3D::Vector3::serialize ( class BinaryOutput b) const

Format is three float32's.

void G3D::Vector3::serialize ( class TextOutput t) const

Format is "(%f, %f, %f)".

float G3D::Vector3::squaredLength ( ) const
inline

Same as squaredMagnitude.

float G3D::Vector3::squaredMagnitude ( ) const
inline
float G3D::Vector3::sum ( ) const
inline

Referenced by average().

Any G3D::Vector3::toAny ( const std::string name) const

Converts the Vector3 to an Any, using the specified name instead of "Vector3".

Any G3D::Vector3::toAny ( ) const

Converts the Vector3 to an Any.

std::string G3D::Vector3::toString ( ) const
Vector3 G3D::Vector3::unit ( ) const
inline

Synonym for direction.

Vector3 G3D::Vector3::unitCross ( const Vector3 rkVector) const
inline
static const Vector3& G3D::Vector3::unitX ( )
static
static const Vector3& G3D::Vector3::unitY ( )
static
static const Vector3& G3D::Vector3::unitZ ( )
static
Vector2 G3D::Vector3::xx ( ) const
Vector3 G3D::Vector3::xxx ( ) const
Vector4 G3D::Vector3::xxxx ( ) const
Vector4 G3D::Vector3::xxxy ( ) const
Vector4 G3D::Vector3::xxxz ( ) const
Vector3 G3D::Vector3::xxy ( ) const
Vector4 G3D::Vector3::xxyx ( ) const
Vector4 G3D::Vector3::xxyy ( ) const
Vector4 G3D::Vector3::xxyz ( ) const
Vector3 G3D::Vector3::xxz ( ) const
Vector4 G3D::Vector3::xxzx ( ) const
Vector4 G3D::Vector3::xxzy ( ) const
Vector4 G3D::Vector3::xxzz ( ) const
Vector2 G3D::Vector3::xy ( ) const
Vector3 G3D::Vector3::xyx ( ) const
Vector4 G3D::Vector3::xyxx ( ) const
Vector4 G3D::Vector3::xyxy ( ) const
Vector4 G3D::Vector3::xyxz ( ) const
Vector3 G3D::Vector3::xyy ( ) const
Vector4 G3D::Vector3::xyyx ( ) const
Vector4 G3D::Vector3::xyyy ( ) const
Vector4 G3D::Vector3::xyyz ( ) const
Vector3 G3D::Vector3::xyz ( ) const

Referenced by G3D::PointShape::center().

Vector4 G3D::Vector3::xyzx ( ) const
Vector4 G3D::Vector3::xyzy ( ) const
Vector4 G3D::Vector3::xyzz ( ) const
Vector2 G3D::Vector3::xz ( ) const
Vector3 G3D::Vector3::xzx ( ) const
Vector4 G3D::Vector3::xzxx ( ) const
Vector4 G3D::Vector3::xzxy ( ) const
Vector4 G3D::Vector3::xzxz ( ) const
Vector3 G3D::Vector3::xzy ( ) const
Vector4 G3D::Vector3::xzyx ( ) const
Vector4 G3D::Vector3::xzyy ( ) const
Vector4 G3D::Vector3::xzyz ( ) const
Vector3 G3D::Vector3::xzz ( ) const
Vector4 G3D::Vector3::xzzx ( ) const
Vector4 G3D::Vector3::xzzy ( ) const
Vector4 G3D::Vector3::xzzz ( ) const
Vector2 G3D::Vector3::yx ( ) const
Vector3 G3D::Vector3::yxx ( ) const
Vector4 G3D::Vector3::yxxx ( ) const
Vector4 G3D::Vector3::yxxy ( ) const
Vector4 G3D::Vector3::yxxz ( ) const
Vector3 G3D::Vector3::yxy ( ) const
Vector4 G3D::Vector3::yxyx ( ) const
Vector4 G3D::Vector3::yxyy ( ) const
Vector4 G3D::Vector3::yxyz ( ) const
Vector3 G3D::Vector3::yxz ( ) const
Vector4 G3D::Vector3::yxzx ( ) const
Vector4 G3D::Vector3::yxzy ( ) const
Vector4 G3D::Vector3::yxzz ( ) const
Vector2 G3D::Vector3::yy ( ) const
Vector3 G3D::Vector3::yyx ( ) const
Vector4 G3D::Vector3::yyxx ( ) const
Vector4 G3D::Vector3::yyxy ( ) const
Vector4 G3D::Vector3::yyxz ( ) const
Vector3 G3D::Vector3::yyy ( ) const
Vector4 G3D::Vector3::yyyx ( ) const
Vector4 G3D::Vector3::yyyy ( ) const
Vector4 G3D::Vector3::yyyz ( ) const
Vector3 G3D::Vector3::yyz ( ) const
Vector4 G3D::Vector3::yyzx ( ) const
Vector4 G3D::Vector3::yyzy ( ) const
Vector4 G3D::Vector3::yyzz ( ) const
Vector2 G3D::Vector3::yz ( ) const
Vector3 G3D::Vector3::yzx ( ) const
Vector4 G3D::Vector3::yzxx ( ) const
Vector4 G3D::Vector3::yzxy ( ) const
Vector4 G3D::Vector3::yzxz ( ) const
Vector3 G3D::Vector3::yzy ( ) const
Vector4 G3D::Vector3::yzyx ( ) const
Vector4 G3D::Vector3::yzyy ( ) const
Vector4 G3D::Vector3::yzyz ( ) const
Vector3 G3D::Vector3::yzz ( ) const
Vector4 G3D::Vector3::yzzx ( ) const
Vector4 G3D::Vector3::yzzy ( ) const
Vector4 G3D::Vector3::yzzz ( ) const
static const Vector3& G3D::Vector3::zero ( )
static
Vector2 G3D::Vector3::zx ( ) const
Vector3 G3D::Vector3::zxx ( ) const
Vector4 G3D::Vector3::zxxx ( ) const
Vector4 G3D::Vector3::zxxy ( ) const
Vector4 G3D::Vector3::zxxz ( ) const
Vector3 G3D::Vector3::zxy ( ) const
Vector4 G3D::Vector3::zxyx ( ) const
Vector4 G3D::Vector3::zxyy ( ) const
Vector4 G3D::Vector3::zxyz ( ) const
Vector3 G3D::Vector3::zxz ( ) const
Vector4 G3D::Vector3::zxzx ( ) const
Vector4 G3D::Vector3::zxzy ( ) const
Vector4 G3D::Vector3::zxzz ( ) const
Vector2 G3D::Vector3::zy ( ) const
Vector3 G3D::Vector3::zyx ( ) const
Vector4 G3D::Vector3::zyxx ( ) const
Vector4 G3D::Vector3::zyxy ( ) const
Vector4 G3D::Vector3::zyxz ( ) const
Vector3 G3D::Vector3::zyy ( ) const
Vector4 G3D::Vector3::zyyx ( ) const
Vector4 G3D::Vector3::zyyy ( ) const
Vector4 G3D::Vector3::zyyz ( ) const
Vector3 G3D::Vector3::zyz ( ) const
Vector4 G3D::Vector3::zyzx ( ) const
Vector4 G3D::Vector3::zyzy ( ) const
Vector4 G3D::Vector3::zyzz ( ) const
Vector2 G3D::Vector3::zz ( ) const
Vector3 G3D::Vector3::zzx ( ) const
Vector4 G3D::Vector3::zzxx ( ) const
Vector4 G3D::Vector3::zzxy ( ) const
Vector4 G3D::Vector3::zzxz ( ) const
Vector3 G3D::Vector3::zzy ( ) const
Vector4 G3D::Vector3::zzyx ( ) const
Vector4 G3D::Vector3::zzyy ( ) const
Vector4 G3D::Vector3::zzyz ( ) const
Vector3 G3D::Vector3::zzz ( ) const
Vector4 G3D::Vector3::zzzx ( ) const
Vector4 G3D::Vector3::zzzy ( ) const
Vector4 G3D::Vector3::zzzz ( ) const

Member Data Documentation

float G3D::Vector3::x
float G3D::Vector3::y
float G3D::Vector3::z

documentation generated on Sat Jan 12 2013 22:49:57 using doxygen 1.8.2