summaryrefslogtreecommitdiff
path: root/ShedCalc/RenderModel.swift
blob: 86c5a1dc5e35463d0bccd009efb01986d7596ba9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
    }
}