Home | History | Annotate | Download | only in dae
      1 /*
      2 * Copyright 2006 Sony Computer Entertainment Inc.
      3 *
      4 * Licensed under the MIT Open Source License, for details please see license.txt or the website
      5 * http://www.opensource.org/licenses/mit-license.php
      6 *
      7 */
      8 
      9 #include <dae/daeArrayTypes.h>
     10 #include <dae/daeArray.h>
     11 
     12 daeArray::daeArray():_count(0),_capacity(0),_data(NULL),_elementSize(4),_type(NULL)
     13 {
     14 }
     15 
     16 daeArray::~daeArray()
     17 {
     18 }
     19 
     20 void daeArray::setElementSize(size_t elementSize) {
     21 	clear();
     22 	_elementSize = elementSize;
     23 }
     24