Hi!
I was wondering how it would be done to point to struct, like this
you have two dif structs
Code:
typedef struct {
float face1,face2,face3;
char name[200];
int num_objs;
} object_list;
typedef struct {
scene_name
}scenes;
object_list obj[50];
scenes scene[50];
where scene would be 1 element, and pointing to several objects with in the
(this is pseudo and what i want todo)
scene[0].obj[0].numobj;
result with how many objects there are in scene 0, right now i add the start object and the end object into the scene struct so, when drawing the 3d object, i do
this more or less.
Code:
for (counter=startobj;counter<endobj;counter++)
anyone could elaborate how i could do this?
Any help are appricated!
- seidel