MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / dAttachObject

Function dAttachObject

Descent3/DllWrappers.cpp:142–144  ·  view source on GitHub ↗

Attaches 2 objects via attach points on each. The f_used_aligned allows for an aligned connection. NOTE: The child always moves to the parent

Source from the content-addressed store, hash-verified

140// Attaches 2 objects via attach points on each. The f_used_aligned allows for an aligned connection.
141// NOTE: The child always moves to the parent
142bool dAttachObject(object *parent, char parent_ap, object *child, char child_ap, bool f_use_aligned) {
143 return AttachObject(parent, parent_ap, child, child_ap, f_use_aligned);
144}
145
146// Attaches a child object to a parent object by a percent of the radius of the child.
147// NOTE: The child always moves to the parent and not the reverse

Callers

nothing calls this directly

Calls 1

AttachObjectFunction · 0.85

Tested by

no test coverage detected