GCP Assignment 1
Classes | Namespaces | Functions
Vec3.h File Reference
#include "math.h"
Include dependency graph for Vec3.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Maths::Vec3
 Contains the Vec3 structure with functions and overloaded operators. More...
 

Namespaces

 Maths
 The namespace for all maths code.
 

Functions

Vec3 Maths::operator- (Vec3 vecIn)
 Overloads the - operator allowing a Vec3 to be inverted. More...
 
Vec3 Maths::operator- (Vec3 vecInA, Vec3 vecInB)
 Overloads the - operator allowing Vec3's to be subtracted from each other. More...
 
Vec3 Maths::operator+ (Vec3 vecInA, Vec3 vecInB)
 Overloads the + operator. More...
 
Vec3 Maths::operator/ (Vec3 vecInA, float scalar)
 Overloads the / operator allowing a Vec3 to be divided by a scalar. More...
 
Vec3 Maths::operator* (Vec3 vecInA, float scalar)
 Overloads the * operator allowing a Vec3 to be multiplied by a scalar. More...
 
Vec3 Maths::operator* (Vec3 vecInA, Vec3 vecInB)
 Overloads the * operator allowing a Vec2 to be multiplied by another Vec3. More...