mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 14:37:46 +02:00
fixes #includes
This commit is contained in:
parent
5de3ec035b
commit
2c40673e04
5 changed files with 8 additions and 6 deletions
|
@ -9,7 +9,7 @@
|
||||||
#ifndef __hifi__OctalCode__
|
#ifndef __hifi__OctalCode__
|
||||||
#define __hifi__OctalCode__
|
#define __hifi__OctalCode__
|
||||||
|
|
||||||
#include <iostream>
|
#include <string.h>
|
||||||
|
|
||||||
void printOctalCode(unsigned char * octalCode);
|
void printOctalCode(unsigned char * octalCode);
|
||||||
int bytesRequiredForCodeLength(unsigned char threeBitCodes);
|
int bytesRequiredForCodeLength(unsigned char threeBitCodes);
|
||||||
|
|
|
@ -7,8 +7,9 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
#include "SharedUtil.h"
|
#include "SharedUtil.h"
|
||||||
#include <cstdlib>
|
|
||||||
#include <bitset>
|
#include <stdlib.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
double usecTimestamp(timeval *time) {
|
double usecTimestamp(timeval *time) {
|
||||||
return (time->tv_sec * 1000000.0 + time->tv_usec);
|
return (time->tv_sec * 1000000.0 + time->tv_usec);
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
#ifndef __hifi__SharedUtil__
|
#ifndef __hifi__SharedUtil__
|
||||||
#define __hifi__SharedUtil__
|
#define __hifi__SharedUtil__
|
||||||
|
|
||||||
#include <iostream>
|
#include <stdint.h>
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include "Systime.h"
|
#include "Systime.h"
|
||||||
|
|
|
@ -10,6 +10,8 @@
|
||||||
#include "OctalCode.h"
|
#include "OctalCode.h"
|
||||||
#include "VoxelTree.h"
|
#include "VoxelTree.h"
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
const int MAX_TREE_SLICE_BYTES = 26;
|
const int MAX_TREE_SLICE_BYTES = 26;
|
||||||
|
|
||||||
VoxelTree::VoxelTree() {
|
VoxelTree::VoxelTree() {
|
||||||
|
@ -256,4 +258,4 @@ void VoxelTree::printTreeForDebugging(VoxelNode *startNode) {
|
||||||
printTreeForDebugging(startNode->children[k]);
|
printTreeForDebugging(startNode->children[k]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,7 +9,6 @@
|
||||||
#ifndef __hifi__VoxelTree__
|
#ifndef __hifi__VoxelTree__
|
||||||
#define __hifi__VoxelTree__
|
#define __hifi__VoxelTree__
|
||||||
|
|
||||||
#include <iostream>
|
|
||||||
#include "VoxelNode.h"
|
#include "VoxelNode.h"
|
||||||
|
|
||||||
const int MAX_VOXEL_PACKET_SIZE = 1492;
|
const int MAX_VOXEL_PACKET_SIZE = 1492;
|
||||||
|
|
Loading…
Reference in a new issue