Przeglądaj źródła

More conservative depth start number

Karl Zylinski 3 miesięcy temu
rodzic
commit
020faff634
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      karl2d.odin

+ 1 - 1
karl2d.odin

@@ -1777,7 +1777,7 @@ set_font :: proc(fh: Font_Handle) {
 	fs.SetFont(&s.fs, font.fontstash_handle)
 	fs.SetFont(&s.fs, font.fontstash_handle)
 }
 }
 
 
-DEPTH_START :: -0.99
+DEPTH_START :: -1 + DEPTH_INCREMENT
 DEPTH_INCREMENT :: (1.0/10000000.0)
 DEPTH_INCREMENT :: (1.0/10000000.0)
 
 
 _ :: jpeg
 _ :: jpeg