mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 18:50:00 +02:00
cr cleaup - third times a charm?
This commit is contained in:
parent
3673ee36ad
commit
6d378281a8
2 changed files with 6 additions and 8 deletions
|
@ -377,10 +377,9 @@ 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
|
// 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
|
// non-sorted array
|
||||||
// returns -1 if size exceeded
|
// returns -1 if size exceeded
|
||||||
int insertIntoSortedArrays(
|
int insertIntoSortedArrays(void* value, float key, int originalIndex,
|
||||||
void* value, float key, int originalIndex,
|
void** valueArray, float* keyArray, int* originalIndexArray,
|
||||||
void** valueArray, float* keyArray, int* originalIndexArray,
|
int currentCount, int maxCount) {
|
||||||
int currentCount, int maxCount) {
|
|
||||||
|
|
||||||
if (currentCount < maxCount) {
|
if (currentCount < maxCount) {
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
|
|
@ -71,9 +71,8 @@ bool createVoxelEditMessage(unsigned char command, short int sequence,
|
||||||
void usleep(int waitTime);
|
void usleep(int waitTime);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int insertIntoSortedArrays(
|
int insertIntoSortedArrays(void* value, float key, int originalIndex,
|
||||||
void* value, float key, int originalIndex,
|
void** valueArray, float* keyArray, int* originalIndexArray,
|
||||||
void** valueArray, float* keyArray, int* originalIndexArray,
|
int currentCount, int maxCount);
|
||||||
int currentCount, int maxCount);
|
|
||||||
|
|
||||||
#endif /* defined(__hifi__SharedUtil__) */
|
#endif /* defined(__hifi__SharedUtil__) */
|
||||||
|
|
Loading…
Reference in a new issue