This commit is contained in:
Krzosa Karol
2022-09-28 09:36:10 +02:00
parent cd7e4fff32
commit e7ae3cffc6
2 changed files with 14 additions and 11 deletions

View File

@@ -14,7 +14,6 @@ Raymarcher_Update :: ()
forward := Vec3{0, 0, -1}
side := Vec3_Normalize(Vec3_Cross(forward, up))
bug := Vec3_Dot(side, forward, d, e)
Xf := 1 / X->F32
Yf := 1 / Y->F32
ratio := X->F32 / Y->F32
@@ -103,6 +102,9 @@ WinMain :: (hInstance: HINSTANCE, hPrevInstance: HINSTANCE, lpCmdLine: LPSTR, nS
if good_scheduling := false, timeBeginPeriod(1) == TIMERR_NOERROR
good_scheduling = true
dpi_aware_set := SetProcessDPIAware()
Assert(dpi_aware_set != 0)
arena: Arena
window_name := StringToString16(&arena, "Have a wonderful day! 你好世界 ")