This commit is contained in:
Михаил Капелько committed 2026-10-19 07:14:03 +03:00
1 parent cc445309e8
commit 2ef1589d55
1 file changed
+8 -8
+8 -8
View File
@@ -1,6 +1,14 @@
import AppKit
import RaylibBridge
let RENDER_CONFIG = sr_config(
fov_y: 45.0,
near_plane: 0.1,
far_plane: 1000.0,
shadow_size: 256,
ground_size: 40.0
)
let RENDER_OPENGL_ATTRS: [NSOpenGLPixelFormatAttribute] = [
UInt32(NSOpenGLPFAOpenGLProfile), UInt32(NSOpenGLProfileVersion3_2Core),
UInt32(NSOpenGLPFAColorSize), 24,
@@ -10,11 +18,3 @@ let RENDER_OPENGL_ATTRS: [NSOpenGLPixelFormatAttribute] = [
UInt32(NSOpenGLPFAAccelerated),
0
]
let RENDER_CONFIG = sr_config(
fov_y: 45.0,
near_plane: 0.1,
far_plane: 1000.0,
shadow_size: 1024,
ground_size: 40.0
)