我调试过多次,最后发现 begin_particle_cell_loop(pi,c,t)不能再DEFINE_DPM_DRAG中使用,一旦使用,...
}// Exit if type could not be determined.if(ftype == UNKNOWN) { mprinterr("Error: for loop type not specfied.\n");return1; } argIn.MarkArg(argToMark); Vars_.push_back( LoopVar() ); LoopVar& MH = Vars_.back();intNiterations =-1;// Set up for specific typeif(description_ ...
renderable->m_model->m_meshes[0]->Bind();// Fetch an empty mesh to output data into.Render::MeshInterface* mesh = m_meshes[m_meshCount];// If a cell already uses this mesh, remove it.if(m_cells[m_cellDirectory[m_meshCount]].m_meshSize !=0) {for(inti =0; i < m_cells[m...