Scroll to navigation

S3D_CLONE(3) s3d Manual S3D_CLONE(3)

NAME

s3d_clone - clone object

SYNOPSIS

#include <s3d.h>

int s3d_clone(int oid);

DESCRIPTION

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.

AUTHOR

Simon Wunderlich

Author of s3d
s3d