- state.setVertexPointer(_vertexData.array->getDataSize(),
- _vertexData.array->getDataType(), 0,
- _vertexData.array->getDataPointer());
- if (_normalData.array.valid())
- state.setNormalPointer(_normalData.array->getDataType(), 0,
- _normalData.array->getDataPointer());
- else
- state.disableNormalPointer();
- Array* texArray = _texCoordList[0].array.get();
- state.setTexCoordPointer(0, texArray->getDataSize(),
- texArray->getDataType(), 0,
- texArray->getDataPointer());
- const Vec4Array* colors = static_cast<const Vec4Array*>(getColorArray());
- const FloatArray* vertexAttribs
- = static_cast<const FloatArray*>(getVertexAttribArray(1));
- Vec4Array::const_iterator citer = colors->begin(), cend = colors->end();
- FloatArray::const_iterator viter = vertexAttribs->begin();
- const Geometry::PrimitiveSetList& modelSets
- = _geometry->getPrimitiveSetList();
+ Vec4Array::const_iterator citer = _posScaleArray->begin();
+ Vec4Array::const_iterator cend = _posScaleArray->end();
+ FloatArray::const_iterator viter = _vertexAttribArray->begin();