This commit is contained in:
2026-08-16 21:50:12 +08:00
parent 3153f7d64f
commit 8073e18318
22 changed files with 332 additions and 355 deletions
@@ -1,4 +1,4 @@
#include "render_3D/Point_Scene.h"
#include "render_3D/Render_Scene_3D.h"
#include <renderive/scene/base/Scene_Base.hpp>
@@ -17,7 +17,7 @@ namespace {
struct Test_Point_Scene {
std::shared_ptr<Point_Visual> visual;
std::unique_ptr<Point_Scene> scene;
std::unique_ptr<Render_Scene_3D> scene;
};
Test_Point_Scene make_test_scene(Scene_Options options) {
@@ -31,7 +31,7 @@ Test_Point_Scene make_test_scene(Scene_Options options) {
Point_State state;
state.style = {{12, 16, 24, 255}, 2.0F, Point_Aspect::Outline};
auto visual = Point_Visual::Builder{state}.build(std::move(points));
auto scene = std::make_unique<Point_Scene>(options, visual);
auto scene = std::make_unique<Render_Scene_3D>(options, visual);
return {std::move(visual), std::move(scene)};
}