/* smvr.h 3/14/1999, Oguz Yetkin (oguz@writeme.com) Simple Minded Virtual Reality (SMVR) */ #ifndef SMVR_H #define SMVR_H 1 #define MAX 20 struct _object{ int list_id; /*opengl list id*/ float x,y,z,r,g,b; /*location & color */ float sx,sy,sz; /*scale*/ float ro,theta,phi; /* rotation angles, not yet implemented */ char name[MAX]; /*object name*/ char filename[MAX]; int display; /*render?*/ int rendered; /* has the object been placed inside a list? */ int grabbed; float radius; /* for compatibility, probably not needed */ struct _object* next; }; /* find on name */ struct _object* smvrfind(struct _object** objList, char* str); #endif