Example #1
0
	void Graphics::SetMatrix(GLint aLocation, const Matrix4x4 & aMatrix)
	{
		if (aLocation != -1)
		{
			glUniformMatrix4fv(aLocation, 1, GL_FALSE, &(aMatrix.Raw())[0][0]);
		}
	}