s3d_clone(3)

clone object

Section 3 s3d-doc bookworm source

Description

S3D_CLONE

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