| 4545 | } |
| 4546 | |
| 4547 | static void SetScreenPosition(HScene scene, InternalNode* node, InternalNode* parent_node, dmVMath::Vector3 screen_position) |
| 4548 | { |
| 4549 | Vector3 local_position = ScreenToLocalPosition(scene, node, parent_node, screen_position); |
| 4550 | node->m_Node.m_Properties[dmGui::PROPERTY_POSITION] = Vector4(local_position, 1.0f); |
| 4551 | node->m_Node.m_DirtyLocal = 1; |
| 4552 | } |
| 4553 | |
| 4554 | void SetScreenPosition(HScene scene, HNode node, const Point3& screen_position) |
| 4555 | { |