 |
Rune Engine
Version 0.2.7-alpha
Documentation for how to make games using the Rune Engine.
|
31 Mat2(
double a11,
double a12,
double a21,
double a22);
51 Mat2& operator+=(
const double scalar);
55 Mat2& operator*=(
const double right);
57 bool operator==(
const Mat2& right);
59 bool operator!=(
const Mat2& right);
67 double* operator[](
int index);
69 friend RUNE_ENGINE std::ostream&
operator<<(std::ostream& os,
const Mat2& vector);
friend RUNE_ENGINE std::ostream & operator<<(std::ostream &os, const Mat2 &vector)
Overload of stream operator for printing.
2 x 2 matrix to be used for math.
Definition: mat2.h:21
1 x 2 vector to be used for math.
Definition: vec2.h:20
RUNE_ENGINE Vec2 operator/(double scalar, Vec2 vec)
Overload of / operator for a scalar.
The main namespace to be used for interfacing with the engine.
Definition: animator.h:21
RUNE_ENGINE rune::Vec2 operator*(rune::Vec2 const &vec, rune::Mat2 &mat)
Overload of multiplication operator for a rune::Mat2.