Skip to content

Instantly share code, notes, and snippets.

View SorenSaket's full-sized avatar
🧑‍🍳
Cookin'

Soren Saket SorenSaket

🧑‍🍳
Cookin'
View GitHub Profile
@SorenSaket
SorenSaket / MultiArray.cs
Last active June 9, 2022 20:57
MultiArrayList C#. Automatic SOA Array Storage
// C# implementation of MultiArrayList in zig
// Uses Reflection to deterimine fields
/// <summary>
/// Array with automatic SOA layout
/// </summary>
public class MultiArray
{
/// <summary>
/// Length of the array
@SorenSaket
SorenSaket / main.odin
Last active April 21, 2024 23:58
GLFW, OpenGL Window Tutorial in Odin language
// GLFW and OpenGL example with very verbose comments and links to documentation for learning
// By Soren Saket
// semi-colons ; are not requied in odin
//
// Every Odin script belongs to a package
// Define the package with the package [packageName] statement
// The main package name is reserved for the program entry point package
// You cannot have two different packages in the same directory