This project is read-only.

SMVector3 v 0.1

Rating: No reviews yet
Downloads: 9
Change Set: 61652
Released: Jan 29, 2011
Updated: Jan 29, 2011 by Bluesummer
Dev status: Stable Help Icon

Recommended Download

Application release v0.1
application, 172K, uploaded Jan 29, 2011 - 9 downloads

Release Notes

First release of the SMVector3 class library.

To use it, link to the SMVector3.lib and include SMVector3.h.
To use the SIMD version (SSE instructions), add #define USE_SIMD_VECTOR before including the header.

WATCH OUT :

If you're using the SIMD version, remember that variable needs to be 16 bits aligned. The consequence is that when you dynamically create a class or struct containing a SMVector3 variable, you need to redefine the new et delete operators of your class or struct to create aligned data (_aligned_malloc et _aligned_free). If you don't you'll get a segmentation fault. If you declare your class or struct statically, it should work fine.

ADVANTAGES :

The main advantages is that you can switch between float vectors and SIMD vectors just by adding or deleting #define USE_SIMD_VECTOR.

Reviews for this release

No reviews yet for this release.