code review cleanup

This commit is contained in:
ZappoMan 2013-04-30 10:16:04 -07:00
parent 622a078d24
commit bf3b014743
2 changed files with 18 additions and 14 deletions

View file

@ -377,8 +377,10 @@ void printVoxelCode(unsigned char* voxelCode) {
// the second array is a sorted key for the value, the third array is the index for the value in it original
// non-sorted array
// returns -1 if size exceeded
int insertIntoSortedArrays(void* value, float key, int originalIndex,
void** valueArray, float* keyArray, int* originalIndexArray, int currentCount, int maxCount) {
int insertIntoSortedArrays(
void* value, float key, int originalIndex,
void** valueArray, float* keyArray, int* originalIndexArray,
int currentCount, int maxCount) {
if (currentCount < maxCount) {
int i = 0;

View file

@ -71,7 +71,9 @@ bool createVoxelEditMessage(unsigned char command, short int sequence,
void usleep(int waitTime);
#endif
int insertIntoSortedArrays(void* value, float key, int originalIndex,
void** valueArray, float* keyArray, int* originalIndexArray, int currentCount, int maxCount);
int insertIntoSortedArrays(
void* value, float key, int originalIndex,
void** valueArray, float* keyArray, int* originalIndexArray,
int currentCount, int maxCount);
#endif /* defined(__hifi__SharedUtil__) */