Added MeshCopy(dst,src), with the same syntax of memcopy

This commit is contained in:
Paolo Cignoni 2011-06-03 14:37:50 +00:00
parent 93c48b10a2
commit 3fc9b9ef1f
1 changed files with 6 additions and 1 deletions

View File

@ -354,7 +354,12 @@ static void Mesh(MeshLeft& ml, MeshRight& mr, const bool selected = false){
// }
}
static void MeshCopy(MeshLeft& ml, MeshRight& mr, bool selected=false)
{
ml.Clear();
Mesh(ml,mr,selected);
ml.bbox=mr.bbox;
}
static void Selected(MeshLeft& ml, MeshRight& mr)
{