Skip to content

Instantly share code, notes, and snippets.

View BlockoS's full-sized avatar
💭
🧙⚔️💾

MooZ BlockoS

💭
🧙⚔️💾
View GitHub Profile
@BlockoS
BlockoS / BufferObject.cpp
Created April 17, 2012 20:52 — forked from StonedXander/Makefile
Some VBO Stuff
#include "BufferObject.h"
BufferObject::BufferObject() :
_id(0),
_target(GL_NONE),
_size(0),
_usage(0)
{}
BufferObject::~BufferObject() {}
mpr 0: ff
mpr 1: f8
mpr 2: 80
mpr 3: 81
mpr 4: 82
mpr 5: 83
mpr 6: 77
mpr 7: 00
5439: ; start of vram "print"
@BlockoS
BlockoS / array.c
Created June 30, 2011 20:32 — forked from anonymous/array.c
Array C "template"
#include <stdio.h>
#define ARRAY_DECLARE(type) \
typedef struct \
{ \
type *buffer; \
size_t capacity; \
size_t size; \
} type##_array; \
void type##_array_create(type##_array* container); \
@BlockoS
BlockoS / gist:973257
Created May 15, 2011 15:53 — forked from anonymous/gist:972294
Just a simple maze generator
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <vector>
typedef struct {
unsigned int x;
unsigned int y;
} Coordinate;