Updated CSFML to match the changes related to the up vector changes

This commit is contained in:
Zachariah Brown committed 2014-09-05 14:26:10 -04:00
1 parent 42c2fb1f5c
commit 6abeaed4aa
2 files changed
+50 -9

No files matched your search

+16
View File
@@ -74,3 +74,19 @@ sfVector3f sfListener_getDirection()
sfVector3f direction = {sfmlDirection.x, sfmlDirection.y, sfmlDirection.z};
return direction;
}
////////////////////////////////////////////////////////////
void sfListener_setUpVector(sfVector3f upVector)
{
sf::Listener::setUpVector(upVector.x, upVector.y, upVector.z);
}
////////////////////////////////////////////////////////////
sfVector3f sfListener_getUpVector()
{
sf::Vector3f sfmlUpVector = sf::Listener::getUpVector();
sfVector3f upVector = {sfmlUpVector.x, sfmlUpVector.y, sfmlUpVector.z};
return upVector;
}