mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-27 21:36:13 +01:00
Updated sfTransform_Combine
This commit is contained in:
1 parent
787c5c01d0
commit
c54975288f
2 files changed
+7
-10
No files matched your search
@@ -113,13 +113,11 @@ void sfTransform_TransformRect(const sfTransform* transform, sfFloatRect rectang
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
void sfTransform_Combine(const sfTransform* left, const sfTransform* right, sfTransform* result)
|
||||
void sfTransform_Combine(sfTransform* transform, const sfTransform* other)
|
||||
{
|
||||
CSFML_CHECK(left);
|
||||
CSFML_CHECK(right);
|
||||
CSFML_CHECK(other);
|
||||
|
||||
if (result)
|
||||
result->This = left->This.Combine(right->This);
|
||||
CSFML_CALL(transform, Combine(other->This));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user