S3D_CLONE(3) | s3d Manual | S3D_CLONE(3) |
s3d_clone - 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 children object id.
Simon Wunderlich
s3d |