s3d_clone(3) clone object


#include <s3d.h>

int s3d_clone(int oid);


Clones an already existing object. They get just look the same as the parent-object and will change when the parent-object changes. Cloning especially makes sense if you want to use the same object a lot of times. Move and transform is independent from the parent. The function returns the childs object id.


Simon Wunderlich

Author of s3d