summaryrefslogtreecommitdiff
path: root/indra/llmath/llvolume.h
diff options
context:
space:
mode:
authorGraham Madarasz <graham@lindenlab.com>2013-03-11 12:30:16 -0700
committerGraham Madarasz <graham@lindenlab.com>2013-03-11 12:30:16 -0700
commitc04f4f66c813181eb378b00045aec969dc2c4aae (patch)
tree3e1473f121b8d80f55968aee03db7b5e99f644cb /indra/llmath/llvolume.h
parentb628518fd7c2ee6432dd2f49ecf192bd26455dba (diff)
Moved LLAlignedArray from llmath to llcommon and put template func impls in header to work around Mac 4.3.3 link issue.
Diffstat (limited to 'indra/llmath/llvolume.h')
-rw-r--r--indra/llmath/llvolume.h21
1 files changed, 1 insertions, 20 deletions
diff --git a/indra/llmath/llvolume.h b/indra/llmath/llvolume.h
index 5e43af92ec..1ff53590cf 100644
--- a/indra/llmath/llvolume.h
+++ b/indra/llmath/llvolume.h
@@ -41,6 +41,7 @@ class LLVolumeFace;
class LLVolume;
class LLVolumeTriangle;
+#include "llalignedarray.h"
#include "lldarray.h"
#include "lluuid.h"
#include "v4color.h"
@@ -195,26 +196,6 @@ const U8 LL_SCULPT_FLAG_MIRROR = 128;
const S32 LL_SCULPT_MESH_MAX_FACES = 8;
-template <class T, U32 alignment>
-class LLAlignedArray
-{
-public:
- T* mArray;
- U32 mElementCount;
- U32 mCapacity;
-
- LLAlignedArray();
- ~LLAlignedArray();
-
- void push_back(const T& elem);
- U32 size() const { return mElementCount; }
- void resize(U32 size);
- T* append(S32 N);
- T& operator[](int idx);
- const T& operator[](int idx) const;
-};
-
-
class LLProfileParams
{
public: