 |
Rune Engine
Version 0.2.7-alpha
Documentation for how to make games using the Rune Engine.
|
16 #ifndef MAT3_H_DEFINED
17 #define MAT3_H_DEFINED
35 Mat3(
double a11,
double a12,
double a13,
double a21,
double a22,
double a23,
double a31,
double a32,
double a33);
55 Mat3& operator+=(
const double scalar);
59 Mat3& operator*=(
const double right);
63 Mat3& operator/=(
const double right);
65 bool operator==(
const Mat3& right);
67 bool operator!=(
const Mat3& right);
75 double* operator[](
int index);
77 friend RUNE_ENGINE std::ostream&
operator<<(std::ostream& os,
const Mat3& vector);
3 x 3 matrix to be used for math.
Definition: mat3.h:22
friend RUNE_ENGINE std::ostream & operator<<(std::ostream &os, const Mat3 &vector)
Overload of stream operator for printing.
1 x 3 vector to be used for math.
Definition: vec3.h:22
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.