43 if(idx == MAX_OBSERVER_OBS){
44 mprintf((
"Ran out of observer slots!\n"));
102 memcpy(eye_pos,&obj->
pos,
sizeof(
vec3d));
void observer_get_eye(vec3d *eye_pos, matrix *eye_orient, object *obj)
int observer_create(matrix *orient, vec3d *pos)
observer Observers[MAX_OBSERVER_OBS]
struct vec3d::@225::@227 xyz
int obj_create(ubyte type, int parent_obj, int instance, matrix *orient, vec3d *pos, float radius, uint flags)
void vm_set_identity(matrix *m)
void physics_init(physics_info *pi)
object Objects[MAX_OBJECTS]
GLsizei GLsizei GLuint * obj
void observer_delete(object *obj)