SFML community forums

Help => Window => Topic started by: Richy19 on March 09, 2012, 01:43:15 am

Title: Changing to cartesian coordinates
Post by: Richy19 on March 09, 2012, 01:43:15 am
Hi, im trying to use Box2D with SFML however box2D uses cartesian coordinates but SFML uses inverted Y.
Is there any way to change the SFML coordinate system easily? say with the view class or something?
Title: Changing to cartesian coordinates
Post by: Tex Killer on March 09, 2012, 02:38:38 am
Just always multiply your Y coordinates by -1. If you make a flipped view I would expect the graphics to be upside down.