AllignedS Struct Reference

Dynamic allocatiion allgniment enforcing class. More...

#include <SseUtils.h>

Inherited by Bin, BoundingBox, Camera, Object, Transformation, Triangle, Vertex, and VertexIndex.

List of all members.

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)


Detailed Description

Dynamic allocatiion allgniment enforcing class.

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.


The documentation for this struct was generated from the following file:

Generated on Fri Jan 23 00:21:49 2009 for Raytracer by  doxygen 1.5.7.1