This commit is contained in:
Михаил Капелько committed 2026-10-21 06:17:17 +03:00
1 parent f0862c88f7
commit 41a7b330aa
6 files changed
+43 -36

No files matched your search

+3 -3
View File
@@ -4,10 +4,10 @@ import RaylibBridge
func renderDraw(_ vm: RenderVM) {
vm.glView.openGLContext?.makeCurrentContext()
sr_resize(vm.pixelSize[0], vm.pixelSize[1])
raybri_resize(vm.pixelSize[0], vm.pixelSize[1])
let t = Float(CACurrentMediaTime() - vm.startTime)
sr_set_rotation(t * 6.0, t * 18.0, 0.0)
sr_render()
raybri_set_rotation(t * 6.0, t * 18.0, 0.0)
raybri_render()
vm.glView.openGLContext?.flushBuffer()
}