Further work on the new VBO support
This commit is contained in:
@@ -128,7 +128,7 @@ void Geometry::write(DataOutputStream* out){
|
||||
out->writeArray(getFogCoordIndices());
|
||||
}
|
||||
// Write texture coord arrays
|
||||
Geometry::ArrayList& tcal = getTexCoordArrayList();
|
||||
Geometry::ArrayDataList& tcal = getTexCoordArrayList();
|
||||
out->writeInt(tcal.size());
|
||||
unsigned int j;
|
||||
for(j=0;j<tcal.size();j++)
|
||||
@@ -146,7 +146,7 @@ void Geometry::write(DataOutputStream* out){
|
||||
}
|
||||
|
||||
// Write vertex attributes
|
||||
Geometry::ArrayList& vaal = getVertexAttribArrayList();
|
||||
Geometry::ArrayDataList& vaal = getVertexAttribArrayList();
|
||||
out->writeInt(vaal.size());
|
||||
for(j=0;j<vaal.size();j++)
|
||||
{
|
||||
|
||||
@@ -1185,7 +1185,7 @@ bool Geometry_writeLocalData(const Object& obj, Output& fw)
|
||||
Array_writeLocalData(*geom.getFogCoordIndices(),fw);
|
||||
}
|
||||
|
||||
const Geometry::ArrayList& tcal=geom.getTexCoordArrayList();
|
||||
const Geometry::ArrayDataList& tcal=geom.getTexCoordArrayList();
|
||||
unsigned int i;
|
||||
for(i=0;i<tcal.size();++i)
|
||||
{
|
||||
@@ -1201,7 +1201,7 @@ bool Geometry_writeLocalData(const Object& obj, Output& fw)
|
||||
}
|
||||
}
|
||||
|
||||
const Geometry::ArrayList& vaal=geom.getVertexAttribArrayList();
|
||||
const Geometry::ArrayDataList& vaal=geom.getVertexAttribArrayList();
|
||||
for(i=0;i<vaal.size();++i)
|
||||
{
|
||||
const osg::Geometry::ArrayData& arrayData = vaal[i];
|
||||
|
||||
Reference in New Issue
Block a user