move inline function to .I
This commit is contained in:
parent
a159507d73
commit
09fe314fc0
|
|
@ -167,6 +167,24 @@ modify_array(int i) {
|
|||
return writer.modify_array(i);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Function: GeomVertexData::set_array
|
||||
// Access: Published
|
||||
// Description: Replaces the indicated vertex data array with
|
||||
// a completely new array. You should be careful that
|
||||
// the new array has the same length and format as the
|
||||
// old one, unless you know what you are doing.
|
||||
//
|
||||
// Don't call this in a downstream thread unless you
|
||||
// don't mind it blowing away other changes you might
|
||||
// have recently made in an upstream thread.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
INLINE void GeomVertexData::
|
||||
set_array(int i, const GeomVertexArrayData *array) {
|
||||
GeomVertexDataPipelineWriter writer(this, Thread::get_current_pipeline_stage(), true);
|
||||
writer.set_array(i, array);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Function: GeomVertexData::get_transform_table
|
||||
// Access: Published
|
||||
|
|
|
|||
|
|
@ -306,24 +306,6 @@ clear_rows() {
|
|||
cdata->_animated_vertices.clear();
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Function: GeomVertexData::set_array
|
||||
// Access: Published
|
||||
// Description: Replaces the indicated vertex data array with
|
||||
// a completely new array. You should be careful that
|
||||
// the new array has the same length and format as the
|
||||
// old one, unless you know what you are doing.
|
||||
//
|
||||
// Don't call this in a downstream thread unless you
|
||||
// don't mind it blowing away other changes you might
|
||||
// have recently made in an upstream thread.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
INLINE void GeomVertexData::
|
||||
set_array(int i, const GeomVertexArrayData *array) {
|
||||
GeomVertexDataPipelineWriter writer(this, Thread::get_current_pipeline_stage(), true);
|
||||
writer.set_array(i, array);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Function: GeomVertexData::set_transform_table
|
||||
// Access: Published
|
||||
|
|
|
|||
Loading…
Reference in New Issue