策略抽离

This commit is contained in:
2026-08-02 14:20:27 +08:00
parent 6d000f43b4
commit 2df8959ed6
87 changed files with 2454 additions and 1390 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ std::shared_ptr<Sweep_Spectrum> Sweep_Spectrum::Builder::build() {
auto ret = renderive::make_shared<Sweep_Spectrum>();
ret->init(parent);
Sweep_Spectrum_Private* pd = ret->d();
Sweep_Spectrum_Render_State* sc = reinterpret_cast<Sweep_Spectrum_Render_State*>(pd->state(State_Edit));
Sweep_Spectrum_Render_State* sc = reinterpret_cast<Sweep_Spectrum_Render_State*>(pd->edit_state());
PROP_R(std::weak_ptr<Axis>, frequency_axis)
PROP_R(std::weak_ptr<Axis>, power_axis)
PROP_R(Range, frequency_range)