| 2159 | } |
| 2160 | |
| 2161 | int osipf_AttachObjectAP(int parenthandle, char parent_ap, int childhandle, char child_ap, uint8_t f_use_aligned) { |
| 2162 | object *parent = ObjGet(parenthandle); |
| 2163 | object *child = ObjGet(childhandle); |
| 2164 | |
| 2165 | if ((parent) && (parent->flags & OF_POLYGON_OBJECT) && (child) && (child->flags & OF_POLYGON_OBJECT)) { |
| 2166 | return AttachObject(parent, parent_ap, child, child_ap, (bool)(f_use_aligned != 0)); |
| 2167 | } |
| 2168 | |
| 2169 | return 0; |
| 2170 | } |
| 2171 | |
| 2172 | int osipf_AttachObjectRad(int parenthandle, char parent_ap, int childhandle, float percent_rad) { |
| 2173 | object *parent = ObjGet(parenthandle); |
nothing calls this directly
no test coverage detected