25#ifndef SFML_MATRIX3_HPP
26#define SFML_MATRIX3_HPP
57 float a10,
float a11,
float a12,
58 float a20,
float a21,
float a22);
107 float operator ()(
unsigned int Row,
unsigned int Col)
const;
108 float& operator ()(
unsigned int Row,
unsigned int Col);
143#include <SFML/Graphics/Matrix3.inl>
Matrix3 GetInverse() const
Return the inverse of the matrix.
Vector2f Transform(const Vector2f &Point) const
Transform a point by the matrix.
void SetFromTransformations(const Vector2f &Center, const Vector2f &Translation, float Rotation, const Vector2f &Scale)
Build a matrix from a set of transformations.
Matrix3()
Default constructor (builds an identity matrix).
const float * Get4x4Elements() const
Return the elements of the matrix as a 4x4, in an array of 16 floats.
Matrix3(float a00, float a01, float a02, float a10, float a11, float a12, float a20, float a21, float a22)
Construct a matrix from its 9 elements.
static const Matrix3 Identity
Identity matrix.
Vector2< float > Vector2f