CONTACT* contact

Posted By: Dooley

CONTACT* contact - 11/10/19 14:08

In the manual under "ent_getvertex"

In the last example, it mentions the following:

Quote
CONTACT* contact = ent_getvertex(you,NULL,vertex_num);
c.z += 10; // increase the vertex height
c.v = NULL; // c.x,y,z was changed, instead of c.v
ent_setvertex(you,c,vertex_num); // update the mesh


If I am not mistaken, shouldn't it be "CONTACT* c = ent_getvertex(you,NULL,vertex_num);"
Posted By: jcl

Re: CONTACT* contact - 02/05/20 22:24

Right, that's a typo.
© 2024 lite-C Forums