maybe in vec_for_vertex function. you need to put vector, not entity in first place in function and you've put entity and that's why it gives you such error



Ubi bene, ibi Patria.