Thankfully it wasn't a problem with the data format, I was passing the

address of a ptr, not the address contained by the ptr. With that,
preliminary GPU octree interaction works perfectly
This commit is contained in:
MitchellHansen
2017-09-24 17:48:06 -07:00
parent 7c86c60f9f
commit 305ef917e0
6 changed files with 28 additions and 12 deletions

View File

@@ -7,6 +7,7 @@
#include "util.hpp"
#include "map/Octree.h"
#include <time.h>
#include "map/Old_Map.h"
#define _USE_MATH_DEFINES
#include <math.h>
@@ -15,7 +16,7 @@ class Map {
public:
// Currently takes a
Map(uint32_t dimensions);
Map(uint32_t dimensions, Old_Map* array_map);
// Sets a voxel in the 3D char dataset
void setVoxel(sf::Vector3i position, int val);