SFML community forums
Bindings - other languages => DotNet => Topic started by: popotan997 on November 29, 2014, 01:19:18 am
-
Operator== (and !=) of Vector2f, i, u are useful.
-
Just so you know, SFML does provide these:
https://github.com/SFML/SFML/blob/master/include/SFML/System/Vector2.hpp#L233
https://github.com/SFML/SFML/blob/master/include/SFML/System/Vector2.hpp#L248
If these operators are in fact missing, it looks like it's the .NET binding.
-
They do exist. E.g. https://github.com/SFML/SFML.Net/blob/master/src/System/Vector2.cs#L115
What's your actual issue?
-
hmm strange those operators should be there. What's the actual error?
-
hmm strange those operators should be there. What's the actual error?
No need to revive threads after a week just to repeat the last answer ;)
-
I'm not sure Git version, but I have installed SFML.Net 2.1.5 via NuGet.
It lacks these operators.
-
I have installed SFML.Net 2.1.5
Such a version shouldn't exist, it's just 2.1.
You should compile the latest sources yourself to be sure to get a working version.