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

Go to the source code of this file.

Classes

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

Namespaces

 Maths
 The namespace for all maths code.
 

Functions

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