| 4444 | } |
| 4445 | |
| 4446 | HNode GetNodeParent(HScene scene, HNode node) |
| 4447 | { |
| 4448 | InternalNode* n = GetNode(scene, node); |
| 4449 | if (n->m_ParentIndex == INVALID_INDEX) |
| 4450 | { |
| 4451 | return dmGui::INVALID_HANDLE; |
| 4452 | } |
| 4453 | InternalNode* parent_n = &scene->m_Nodes[n->m_ParentIndex]; |
| 4454 | return GetNodeHandle(parent_n); |
| 4455 | } |
| 4456 | |
| 4457 | static Vector3 ScreenToLocalPosition(HScene scene, InternalNode* node, InternalNode* parent_node, dmVMath::Vector3 screen_position) |
| 4458 | { |
no test coverage detected