mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 13:50:35 +02:00
code review cleanup
This commit is contained in:
parent
622a078d24
commit
bf3b014743
2 changed files with 18 additions and 14 deletions
|
@ -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;
|
||||
|
|
|
@ -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__) */
|
||||
|
|
Loading…
Reference in a new issue