looks somehow weird, but since I used ent_setvertex last, it somehow changed. would have to read into it.

But what i see directly is that you don't even use the contact struct you defined. maybe you confused contact and hit?