From 1a4c906374ec7dba080d5f013a24390bac5fa24f Mon Sep 17 00:00:00 2001 From: Laurent Gomila Date: Sun, 5 Feb 2012 17:03:09 +0100 Subject: [PATCH] Fixed error in Transform.h --- include/SFML/Graphics/Transform.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/SFML/Graphics/Transform.h b/include/SFML/Graphics/Transform.h index f997153..04bcbe2 100644 --- a/include/SFML/Graphics/Transform.h +++ b/include/SFML/Graphics/Transform.h @@ -107,11 +107,10 @@ CSFML_GRAPHICS_API const float* sfTransform_GetMatrix(const sfTransform* transfo /// is returned. /// /// \param transform Transform object -/// -/// \return A new transform which is the inverse of self +/// \param result Returned inverse matrix /// //////////////////////////////////////////////////////////// -CSFML_GRAPHICS_API sfTransform* sfTransform_GetInverse(const sfTransform* transform); +CSFML_GRAPHICS_API void sfTransform_GetInverse(const sfTransform* transform, sfTransform* result); //////////////////////////////////////////////////////////// /// \brief Apply a transform to a 2D point