So zum Beispiel:
Code:
#include <acknex.h>

void main() {
    level_load(NULL);
    ENTITY *sun   = ent_create(SPHERE_MDL, vector(100,0,0), NULL);
    ENTITY *earth = ent_create(SPHERE_MDL, NULLVECTOR, NULL);
    var earth_pan = 0, earth_dist = 50;
    while (1) {
        vec_set(earth.x, vector(earth_dist,0,0));
        vec_rotate(earth.x, vector(earth_pan,0,0));
        vec_add(earth.x, sun.x);
        earth_pan += 4*time_step;
        wait(1);
    }
}


Einfach mal kopieren und kompilieren, dann siehst und verstehst du vermutlich, wie es funktioniert.