30 #ifndef RIOENGINE_CLENGINE_CLMESH_H_
31 #define RIOENGINE_CLENGINE_CLMESH_H_
36 template <
class T>
class CArray;
78 if (!locations_array) {
84 btAlignedObjectArray<T> vec = btAlignedObjectArray<T>();
86 for (
unsigned int i = 0; i < indices_array->
size(); i++) {
88 vec.push_back(T(original_obj));
107 #endif // RIOENGINE_CLENGINE_CLMESH_H_
CArray< btVector3 > * normals() const
CArray< T > * getLocationsArrayHavingIndicesArray(CArray< T > *locations_array, CArray< int > *indices_array)
static CArray * fromBtAlignedObjectArray(btAlignedObjectArray< T > *vec)
CArray< btVector3 > * positions() const
void setTriangles(CArray< CLTriangles > *triangles_array)
void setNormals(CArray< btVector3 > *normals)
CArray< CLTriangles > * triangles() const
void setMapArray(CArray< TextureCoord > *map_array)
void setPositions(CArray< btVector3 > *positions)
CArray< CLPolygon > * getPolygonsArray()
T objectAtIndex(unsigned int index) const
CLMesh & operator=(const CLMesh &mesh)
CArray< TextureCoord > * mapArray() const
virtual void copyValuesFromObject(const CLMesh &mesh)
CArray< CLPolygon > * fixPolygonsArray(std::vector< CLPolygon > *polygons_array)
CLPolygon getPolygonForTrianglesIndex(unsigned int index)
unsigned int size() const