I'm used to WinForms graphics, but I've been dabbling in XNA, and one thing I've noticed is that the Point
object isn't very useful, and doesn't seem to be used very much. For positioning, the various SpriteBatch
Draw methods use either a Rectangle
or a Vector2
. And Vector2
has a lot of useful static and instance methods, whereas Point
has basically nothing except the X and Y properties.
Why does XNA use a Vector2
to represent position instead of a Point
? I realize they both have an X and a Y, but semantically and logically, using a Vector2
instead of a Point
to represent location makes no sense to me. (For instance, if you normalize the Vector2
, suddenly you have a different location!)
Is this as strange as it seems, or am I missing something?