try to load model on click

This commit is contained in:
Михаил Капелько committed 2026-10-19 18:25:35 +03:00
1 parent 5c93de7764
commit cc29a5fc93
5 files changed
+22 -9

No files matched your search

+7
View File
@@ -1,4 +1,11 @@
import Foundation
import RaylibBridge
func renderLoadCubeModel() {
let path = Bundle.main.resourceURL!.path + RENDER_MODEL_CUBE
print("ИГР renderLCB path: '\(path)'")
sr_load_model(path)
}
func renderStartTimer(_ vm: RenderVM) {
// Schedule repaints every once in FPS seconds