Lines Matching refs:obj
65 void add_object(object *obj) { in add_object() argument
68 if (obj == nullptr) in add_object()
71 obj->id = new_objectid(); in add_object()
74 rootobj = obj; in add_object()
75 obj->nextobj = objtemp; in add_object()
113 intstruct->list[0].obj = nullptr; in reset_intersection()
115 intstruct->list[1].obj = nullptr; in reset_intersection()
118 void add_intersection(flt t, object *obj, ray *ry) { in add_intersection() argument
133 intstruct->list[intstruct->num].obj = obj; in add_intersection()
138 int closest_intersection(flt *t, object **obj, intersectstruct *intstruct) { in closest_intersection() argument
145 *obj = intstruct->list[i].obj; in closest_intersection()
158 (intstruct->list[i].obj->tex->shadowcast == 1)) { in shadow_intersection()