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