s3d_translate(3)

s3d_translate3

Move object to absolute position

Usage

#include <s3d.h>

int s3d_translate(int object, float x, float y, float z);

Overview

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!!

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 1 time.

  1. 6.0
  2. 7–13

Author

Simon Wunderlich

Author of s3d

From s3d-doc 0.2.2.1-7 in Debian 13 (Trixie). Parsed by carta from the page's man source.