template class EE::Math::Vector3

Overview

Utility template class for manipulating 3-dimensional vectors. More…

#include <vector3.hpp>

template <typename T>
class Vector3 {
public:
    // fields

    T x;
    T y;
    T z;

    // construction

    Vector3();
    Vector3(T X, T Y, T Z);
};

Detailed Documentation

Utility template class for manipulating 3-dimensional vectors.

Construction

Vector3()

Default constructor. Creates Vector3(0,0,0)

Vector3(T X, T Y, T Z)

Creates a vector from its coordinates