Public Member Functions | Public Attributes

Vec3f Class Reference

A typical 3D vector class. More...

List of all members.

Public Member Functions

ozinline Vec3f (float _x, float _y, float _z)
ozinline void set (float _x, float _y, float _z)
ozinline Vec3f operator- () const
ozinline void operator-= (const Vec3f &_v)
ozinline void operator+= (const Vec3f &_v)
ozinline void operator*= (float _mul)
ozinline void operator*= (const Vec3f &_v)
ozinline void operator/= (float _div)
ozinline Vec3f operator- (const Vec3f &_v) const
ozinline Vec3f operator+ (const Vec3f &_v) const
ozinline Vec3f operator* (const Vec3f &_v) const
ozinline Vec3f operator* (float _m) const
ozinline Vec3f operator/ (const Vec3f &_v) const
ozinline Vec3f operator/ (float _d) const
ozinline Vec3f operator| (const Vec3f &_d) const
ozinline bool operator== (const Vec3f &_v) const
ozinline bool operator!= (const Vec3f &_v) const
ozinline float operator[] (int _i) const
ozinline float len () const
ozinline float lenSq () const
ozinline float dot (const Vec3f &_v) const
ozinline void normalize ()
ozinline void positive ()

Public Attributes

float x
float y
float z

Detailed Description

A typical 3D vector class.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Enumerations Enumerator