diff options
Diffstat (limited to 'ShedCalc/RenderModel.swift')
| -rw-r--r-- | ShedCalc/RenderModel.swift | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ShedCalc/RenderModel.swift b/ShedCalc/RenderModel.swift new file mode 100644 index 0000000..86c5a1d --- /dev/null +++ b/ShedCalc/RenderModel.swift @@ -0,0 +1,19 @@ +// +// RenderModel.swift +// ShedCalc +// +// Created by Jacky Jack on 01/08/2026. +// +import SwiftUI +import Combine + +class RenderModel: ObservableObject { + // Scene rotation + @Published var rotationX: Float = 0.4 + @Published var rotationY: Float = 0.6 + + func reset() { + rotationX = 0.4 + rotationY = 0.6 + } +} |
