Ray Tracer  2020
Functions
Vector.cpp File Reference
#include "Vector.h"
#include <cmath>
#include <assert.h>

Function Documentation

◆ operator*() [1/2]

Vector operator* ( const Vector vec,
double  s 
)
related

◆ operator*() [2/2]

Vector operator* ( double  s,
const Vector vec 
)
related

◆ operator+()

Vector operator+ ( const Vector lhs,
const Vector rhs 
)
related

◆ operator-()

Vector operator- ( const Vector lhs,
const Vector rhs 
)
related

◆ operator/()

Vector operator/ ( const Vector vec,
double  s 
)
related