Skip to content

Instantly share code, notes, and snippets.

View gafferongames's full-sized avatar

Glenn Fiedler gafferongames

View GitHub Profile
@gafferongames
gafferongames / gist:fae5c7ccca079cccd622
Created March 25, 2015 04:38
Delta Compression (Round 2)
/*
Delta Compression (Round 2) by Glenn Fiedler.
This source code is placed in the public domain.
http://gafferongames.com/2015/03/14/the-networked-physics-data-compression-challenge/
*/
#include <stdint.h>
#include <stdio.h>
#include <assert.h>
#include <string.h>
@gafferongames
gafferongames / delta_compression.cpp
Last active April 11, 2024 22:46
Delta Compression
/*
Delta Compression by Glenn Fiedler.
This source code is placed in the public domain.
http://gafferongames.com/2015/03/14/the-networked-physics-data-compression-challenge/
*/
#include <stdint.h>
#include <stdio.h>
#include <assert.h>
#include <string.h>