Hi guys.
If you use SFML.net, and use Farseer you have the marvelous things called Vector2i, Vector2u, Vector2i from SFML.net and Vector2 from Farseer.
Now this is way too messed up for me, and makes me use some freaky conversions back and forth so that I can use Vector2 from Farseer work with whatever Vector2 SFML wants (I swear, that crap is insane for me).
Now does anyone out there know how can I merge all of this madness? Or at least simplify all of this clutter?
Because something like this usually happens:
//Physics object
phy_Mainchar.Position = new Vector2(100, 100);
//SFML image
spr_MainChar.Position = new Vector2f(phy_Mainchar.Position.X, phy_Mainchar.Position.Y);
This is from the top of my mind so it might not be correct, I'm not currently at home but this question bugs me very much. I hope you understand my question.
Help?