DirectX SDK (August 2009)
XNA Math, version 2.01, now has new compiler directive, XM_STRICT_VECTOR4
. This opt-in directive disallows the usage of XboxMath-like member accessors such as .x, .y, and .z. This makes it easier to write portable XNA Math code.
Additionally, XNA Math has added conversion support for the following Windows graphics formats:
- 16-bit color formats (565, 555X, 5551)
- 4-bits per channel color formats (4444)
- Unique Direct3D 10/11 formats (
DXGI_FORMAT_R9G9B9E5_SHAREDEXP
andDXGI_FORMAT_R11G11B10_FLOAT
)