#include <SseUtils.h>
Inherited by Bin, BoundingBox, Camera, Object, Transformation, Triangle, Vertex, and VertexIndex.
Public Member Functions | |
void * | operator new (size_t size) |
void | operator delete (void *addr) |
void * | operator new[] (size_t size) |
void | operator delete[] (void *addr) |
The SSE unit normaly requires the addresses to be alligned to 16byte boundary. If variables intended for use with SSE are placed in class, the entire class must be alligned to this boundary and SSE member variables placed at class begining. For local stack instances, compiler should tak care. For dynamicaly created instances, user must handle the alignment. Inheriting form this class ensures proper class memory allignment for inherited classes.