XMVECTOR

closed account (ETAkoG1T)
hello, how do I specify how many dimensions to use in my vector? How do I not make it 4... http://msdn.microsoft.com/en-us/library/ee418725.aspx#vectors_from_variables
The documentation sucks, I can't find a way to initialize an XMVECTOR 2d object. Help appreciated.
closed account (ETAkoG1T)
um no answer yet????
From http://www.asawicki.info/news_1366_introduction_to_xna_math.html

This single type [XMVECTOR] is used in all computations and interpreted as a 2D, 3D or 4D vector, plane, quaternion, part of 4x4 matrix or even a vector of unsigned integers, depending on the context.
Topic archived. No new replies allowed.