1
DotNet / Re: Should we include simpler casts between Vector structs and built-in C# structs?
« on: March 16, 2015, 03:36:12 pm »My biggest issue with doing something like this is the question of where do we stop doing this? Because if we add vectors it also makes sense then to do rects and colors. There may even be more that I'm not thinking of at the moment (what about keyboard keys and mouse buttons?). And then there is the problem of lots of these CLR structures being duplicated for GDI+ and WPF.
Could limit to casts/conversions of internal SFML data classes. For an example the SFML mouse position is a Vector2i but all of the SFML Sprite/World positions are Vector2f. Working between the two requires a bit of finagling. Don't mind a bit of extra coding but.. simplicity wins out over verbosity.