Skip to content

Instantly share code, notes, and snippets.

@NANDquark
NANDquark / odin.py
Last active April 12, 2026 21:08
Odin LLDB Data Formatter - Improved debugger display for slices, dynamic array, fixed capacity dynamic array, strings, maps, and unions
# Original author: laytan (https://gist.github.com/laytan/a94c323a84cef7bcfbdf6d21987fd5a9)
# Modifications by: harold-b (https://gist.github.com/harold-b/ef16a5c3ebcceccfc2bc7a5c5dd0058d)
# Modifications by: NANDquark (https://gist.github.com/NANDquark/f422c4334deae474831f9528906680d3)
#
# LICENSE
#
# Anyone is free to copy, modify, publish, use, compile, sell, or
# distribute this software, either in source code form or as a compiled
# binary, for any purpose, commercial or non-commercial, and by any
# means.
@NANDquark
NANDquark / obj.odin
Created February 1, 2026 21:48
Odin wavefront obj file loader
// Source: https://gist.github.com/Tekkitslime/c9dff12cabf6339a27876b9b57c5ba43
// Modified by NANDquark
package obj
// Implemented from this wikipedia article:
// https://en.wikipedia.org/wiki/Wavefront_.obj_file
// this obj loader does not support relative indices (-1 to reference last vertex.)
// no free-form geometry support.
// limited transparency support.
@NANDquark
NANDquark / main.odin
Last active March 8, 2026 23:53
Simple Odin lang performance profiling utility
package main
import rl "vendor:raylib"
WIDTH :: 800
HEIGHT :: 600
mouse_pos: rl.Vector2
main :: proc() {