Пример #1
0
/* Update a BMLogVert with data from a BMVert */
static void bm_log_vert_bmvert_copy(BMLogVert *lv, BMVert *v, const int cd_vert_mask_offset)
{
	copy_v3_v3(lv->co, v->co);
	normal_float_to_short_v3(lv->no, v->no);
	lv->mask = vert_mask_get(v, cd_vert_mask_offset);
	lv->hflag = v->head.hflag;
}
Пример #2
0
/* Update a BMLogVert with data from a BMVert */
static void bm_log_vert_bmvert_copy(BMesh *bm, BMLogVert *lv, BMVert *v)
{
	copy_v3_v3(lv->co, v->co);
	lv->mask = vert_mask_get(bm, v);
	lv->hflag = v->head.hflag;
}