ent_getmesh(ENTITY* ent,var num,var lod); ent_setmesh(ENTITY* ent,void* mesh,var num,var lod); Returns or sets the DirectX mesh of the given model or terrain entity.
?
That's not the point. I want to create primitives on the fly (like in Darkbasic) and not have to learn how the mesh is stored internally and then assebmles by hand...