Skip to content

Instantly share code, notes, and snippets.

View Deguerre's full-sized avatar

Andrew Bromage Deguerre

  • Keyframe.AI
  • Melbourne
View GitHub Profile
#include <stdio.h>
#define WIDTH 320
#define HEIGHT 200
int main(int argc, char** argv)
{
char Pixels[HEIGHT][WIDTH] = {};
short Cx = 160;
short Cy = 100;
@Deguerre
Deguerre / GC.cc
Created July 28, 2015 01:56
Cycle-counting garbage collector
#include "GC.h"
#include <boost/foreach.hpp>
GCHeap::~GCHeap()
{
fullCollect();
}