const
This commit is contained in:
1 parent
8429148871
commit
5c7a8ce274
3 files changed
+7
-4
No files matched your search
@@ -1 +1 @@
|
||||
../../../../../components/render/mac/renderConst.swift
|
||||
../../../ver-mac/src/render/renderConst.swift
|
||||
@@ -1 +0,0 @@
|
||||
../../../../../components/render/mac/renderConst.swift
|
||||
@@ -0,0 +1,6 @@
|
||||
let RENDER_CAMERA_POSITION_DEFAULT: [Float] = [0, 0]
|
||||
let RENDER_CAMERA_ZOOM_DEFAULT: Float = 1
|
||||
let RENDER_FPS = 60.0
|
||||
let RENDER_MATCH_SCALE_GROWTH: Float = 0.15
|
||||
let RENDER_MODEL_CUBE = "/cube/cube.gltf"
|
||||
let RENDER_PIXEL_SIZE_1x1 = [1, 1]
|
||||
@@ -4,8 +4,6 @@ import QuartzCore
|
||||
import RaylibBridge
|
||||
#endif
|
||||
|
||||
let RENDER_MATCH_SCALE_GROWTH: Float = 0.15
|
||||
|
||||
func renderDraw(_ vm: RenderVM) {
|
||||
let fbSize = [Int32(vm.pixelSize[0]), Int32(vm.pixelSize[1])]
|
||||
let elapsed = renderMatchTime() - vm.matchStartTime
|
||||
|
||||
Reference in new issue
Block a user