Skip to content

Instantly share code, notes, and snippets.

View sumofat's full-sized avatar

SumoFat sumofat

View GitHub Profile
@sumofat
sumofat / GPUOptimizationForGameDev.md
Created November 6, 2021 19:53 — forked from silvesthu/GPUOptimizationForGameDev.md
GPU Optimization for GameDev
@sumofat
sumofat / collision_3d.odin
Created August 19, 2023 15:21 — forked from jakubtomsu/collision_3d.odin
Simple raylib example of 3d FPS player movement with triangle collision
package main
import "core:fmt"
import "core:math"
import "core:math/linalg"
import rl "vendor:raylib"
main :: proc() {
rl.SetConfigFlags({.VSYNC_HINT, .WINDOW_RESIZABLE, .MSAA_4X_HINT})
rl.InitWindow(800, 600, "collision")
@sumofat
sumofat / common.odin
Created September 23, 2023 04:21 — forked from benoitjacquier/common.odin
odin_win32_winmd
package win32_winmd
import windows "core:sys/windows"
import win32 "core:sys/win32"
import c "core:c"
LARGE_INTEGER :: windows.LARGE_INTEGER;
ULARGE_INTEGER :: u64;
DWORD :: windows.DWORD;
LONG :: windows.LONG;
ULONG :: windows.ULONG;