This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "BufferObject.h" | |
BufferObject::BufferObject() : | |
_id(0), | |
_target(GL_NONE), | |
_size(0), | |
_usage(0) | |
{} | |
BufferObject::~BufferObject() {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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); \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <vector> | |
typedef struct { | |
unsigned int x; | |
unsigned int y; | |
} Coordinate; |