Vuo  1.2.8
Classes | Functions
VuoSort.h File Reference

Description

VuoSort interface.

Classes

struct  VuoIndexedFloat
 Array item type for VuoSort_sortArrayByOtherArray(). More...
 

Functions

void VuoSort_sortArrayByOtherArray (void *array, unsigned long elemCount, unsigned long elemSize, VuoIndexedFloat *other)
 Puts both array and other in ascending order of other's elements' values. More...
 

Class Documentation

◆ VuoIndexedFloat

struct VuoIndexedFloat
Class Members
int index The item's index before sorting.
float value The item's value to compare to other items when sorting.

Function Documentation

◆ VuoSort_sortArrayByOtherArray()

void VuoSort_sortArrayByOtherArray ( void *  array,
unsigned long  elemCount,
unsigned long  elemSize,
VuoIndexedFloat other 
)

Puts both array and other in ascending order of other's elements' values.