table of contents
other versions
- jessie 0.2.2-10
- stretch 0.2.2-14
- testing 0.2.2-16
- unstable 0.2.2-16
- experimental 0.2.2-17
S3D_TRANSLATE(3) | s3d Manual | S3D_TRANSLATE(3) |
NAME¶
s3d_translate - move object to absolute positionSYNOPSIS¶
#include <s3d.h>
int s3d_translate(int object,
float x, float y,
float z);
DESCRIPTION¶
Move the object to some position in space. when you create an object, it's always located at 0.0 , 0.0, 0.0.s3d_translate(object, 2, 0, 0); s3d_translate(object, 4, 0, 0); // object will end up at 4,0,0 and not 6,0,0!!
AUTHOR¶
Simon WunderlichAuthor of s3d
s3d |