try my way

This commit is contained in:
Михаил Капелько committed 2026-10-22 18:33:09 +03:00
1 parent 6fecc1e95e
commit fa1cd053c8
16 files changed
+521 -2

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
import Combine
import Foundation
// iOS counterpart of the macOS RenderVM: it owns the view raylib draws into
// and the timer that drives it. The actual rendering lives in raybriIOS.mm.
final class RenderVM: ObservableObject {
static private(set) weak var shared: RenderVM?
let glView = RenderGLView(frame: .zero)
var startTime: CFTimeInterval = 0
var timer: Timer?
init() {
Self.shared = self
}
}