Files
voxelotl-engine/Sources/Voxelotl/main.swift

16 lines
329 B
Swift
Raw Normal View History

2024-08-05 11:28:34 +10:00
import Darwin
2024-08-04 17:42:03 -07:00
2024-08-13 08:38:21 +10:00
var rect = Rect(origin: .init(0, 0), size: .init(32, 32))
rect.origin += Point(10, 10)
2024-08-05 14:01:01 +10:00
let app = Application(
2024-08-13 08:38:21 +10:00
delegate: Game(),
2024-08-05 14:01:01 +10:00
configuration: ApplicationConfiguration(
width: 1280,
height: 720,
title: "Voxelotl Demo",
flags: [ .resizable, .highDPI ],
2024-08-05 17:27:05 +10:00
vsyncMode: .on(interval: 1)))
2024-08-05 14:01:01 +10:00
2024-08-05 11:28:34 +10:00
exit(app.run())