Files
ox/src/nostalgia/scene/studio/sceneeditor.cpp
T

16 lines
319 B
C++

/*
* Copyright 2016 - 2023 Gary Talent (gary@drinkingtea.net). All rights reserved.
*/
#include "sceneeditor.hpp"
namespace nostalgia::scene {
SceneEditor::SceneEditor(core::Context *ctx, ox::CRStringView path) {
m_ctx = ctx;
oxRequireT(scn, foundation::readObj<SceneStatic>(m_ctx, path));
m_scene = *scn;
}
}