Module
Public Member Functions | List of all members
Module::Vector3 Class Reference

#include <Vector3.hpp>

Public Member Functions

 Vector3 ()
 
 Vector3 (float x, float y, float z)
 
Vector3 operator* (float scalar) const
 
Vector3 operator* (const Vector3 &other) const
 
Vector3operator*= (float scalar)
 
Vector3operator*= (const Vector3 &other)
 
Vector3 operator+ (const Vector3 &other) const
 
Vector3operator+= (const Vector3 &other)
 
Vector3 operator- () const
 
Vector3 operator- (const Vector3 &other) const
 
Vector3operator-= (const Vector3 &other)
 
Vector3 rotate (const Quaternion &other) const
 
float getX () const
 
float getY () const
 
float getZ () const
 
Vector3 cross (const Vector3 &other) const
 
float dot (const Vector3 &other) const
 

Constructor & Destructor Documentation

Vector3::Vector3 ( )
Vector3::Vector3 ( float  x,
float  y,
float  z 
)

Member Function Documentation

Vector3 Vector3::cross ( const Vector3 other) const
float Vector3::dot ( const Vector3 other) const
float Module::Vector3::getX ( ) const
inline
float Module::Vector3::getY ( ) const
inline
float Module::Vector3::getZ ( ) const
inline
Vector3 Vector3::operator* ( float  scalar) const
Vector3 Vector3::operator* ( const Vector3 other) const
Vector3 & Vector3::operator*= ( float  scalar)
Vector3 & Vector3::operator*= ( const Vector3 other)
Vector3 Vector3::operator+ ( const Vector3 other) const
Vector3 & Vector3::operator+= ( const Vector3 other)
Vector3 Vector3::operator- ( ) const
Vector3 Vector3::operator- ( const Vector3 other) const
Vector3 & Vector3::operator-= ( const Vector3 other)
Vector3 Vector3::rotate ( const Quaternion other) const