Rechercher une page de manuel
s3d_translate
Langue: en
Version: 267432 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
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.
Warning
Translation is absolute, not relative!
-
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 Wunderlich
- Author of s3d
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre