Add LinearCombination for Vectors

This commit is contained in:
Eryn Wells 2014-07-16 23:23:26 -07:00
parent 2834fa45c6
commit ca5cabb6ef
2 changed files with 16 additions and 0 deletions

View file

@ -52,6 +52,11 @@ const Vector3 operator*(const float &lhs, const Vector3 &rhs);
std::ostream &operator<<(std::ostream &os, const Vector3 &v);
Vector3 LinearCombination(const double k1, const Vector3& v1,
const double k2, const Vector3& v2,
const double k3, const Vector3& v3);
struct Ray
{
Ray();