'\" t .\" Title: s3d_clone .\" Author: Simon Wunderlich .\" Generator: DocBook XSL Stylesheets .\" .\" Manual: s3d Manual .\" Source: s3d .\" Language: English .\" .TH "S3D_CLONE" "3" "" "s3d" "s3d Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" s3d_clone \- clone object .SH "SYNOPSIS" .sp .ft B .nf #include .fi .ft .HP \w'int\ s3d_clone('u .BI "int s3d_clone(int\ " "oid" ");" .SH "DESCRIPTION" .PP 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\&. .SH "AUTHOR" .PP \fBSimon Wunderlich\fR .RS 4 Author of s3d .RE