|
|
@@ -28,7 +28,7 @@ int main(){
|
|
|
}
|
|
|
|
|
|
RI_newObject object_buffer[6] = {
|
|
|
- {-300, 0, 1000, 0, 0, 0, -9999999, 100, 100, 100, "objects/rotated_cube.obj", "textures/bill_mcdinner.png"},
|
|
|
+ {0, 0, 300, 0, 0, 0, -9999999, 100, 100, 100, "objects/rotated_cube.obj", "textures/bill_mcdinner.png"},
|
|
|
{0, 0, 1000, 0, 0, 0, -9999999, 100, 100, 100, "objects/test_guy_hd.obj", "textures/test_guy_texture.png"},
|
|
|
{100, 0, 1000, 0, 0, 0, -9999999, 100, 100, 100, "objects/rotated_cube.obj", "textures/bill_mcdinner.png"},
|
|
|
{300, 0, 1000, 0, 0, 0, -9999999, 100, 100, 100, "objects/test_guy_hd.obj", "textures/test_guy_texture.png"},
|
|
|
@@ -36,9 +36,13 @@ int main(){
|
|
|
{0, 0, 300, 0, 0.0, 0, -9999999, 50, 50, 50, "objects/rotated_cube.obj", "textures/bill_mcdinner.png"},
|
|
|
};
|
|
|
|
|
|
- RI_objects objects = RI_RequestObjects(object_buffer, 4);
|
|
|
+ RI_objects objects = RI_RequestObjects(object_buffer, 1);
|
|
|
|
|
|
while (RI_IsRunning() == RI_RUNNING){
|
|
|
+ objects[3] += 0.1;
|
|
|
+ objects[4] += 0.2;
|
|
|
+ objects[5] += 0.3;
|
|
|
+
|
|
|
RI_Tick();
|
|
|
}
|
|
|
|