include cstdio for uint8_t

This commit is contained in:
Stephen Birarda 2013-03-20 13:34:53 -07:00
parent b24353957c
commit 9ac664dbab
3 changed files with 2 additions and 6 deletions

View file

@ -24,7 +24,6 @@ float randFloat () {
return (rand() % 10000)/10000.f;
}
unsigned char randomColorValue(uint8_t miniumum) {
return miniumum + (rand() % (255 - miniumum));
}

View file

@ -10,6 +10,7 @@
#define __hifi__SharedUtil__
#include <iostream>
#include <cstdio>
#ifdef _WIN32
#include "Systime.h"

View file

@ -27,10 +27,6 @@
const int VOXEL_LISTEN_PORT = 40106;
const int NUMBER_OF_VOXELS = 250000;
const float MAX_UNIT_ANY_AXIS = 20.0f;
const int VERTICES_PER_VOXEL = 8;
const int VERTEX_POINTS_PER_VOXEL = 3 * VERTICES_PER_VOXEL;
const int COLOR_VALUES_PER_VOXEL = 3 * VERTICES_PER_VOXEL;
@ -46,7 +42,7 @@ char DOMAIN_HOSTNAME[] = "highfidelity.below92.com";
char DOMAIN_IP[100] = ""; // IP Address will be re-set by lookup on startup
const int DOMAINSERVER_PORT = 40102;
const int MAX_VOXEL_TREE_DEPTH_LEVELS = 2;
const int MAX_VOXEL_TREE_DEPTH_LEVELS = 4;
AgentList agentList(VOXEL_LISTEN_PORT);
in_addr_t localAddress;