| 20 | void EditorSceneManager::initialize() {} |
| 21 | |
| 22 | void EditorSceneManager::tick(float delta_time) |
| 23 | { |
| 24 | std::shared_ptr<GObject> selected_gobject = getSelectedGObject().lock(); |
| 25 | if (selected_gobject) |
| 26 | { |
| 27 | TransformComponent* transform_component = selected_gobject->tryGetComponent(TransformComponent); |
| 28 | if (transform_component) |
| 29 | { |
| 30 | transform_component->setDirtyFlag(true); |
| 31 | } |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | float intersectPlaneRay(Vector3 normal, float d, Vector3 origin, Vector3 dir) |
| 36 | { |
no test coverage detected