Version

menu_open
Wwise SDK 2023.1.3
AkFPUtilities.h File Reference

Go to the source code of this file.

Macros

#define AK_FSEL(__a__, __b__, __c__)   (((__a__) >= 0) ? (__b__) : (__c__))
 

Functions

static AkForceInline AkReal32 AK_FPMin (AkReal32 fA, AkReal32 fB)
 Branchless (where available) version returning minimum value between two AkReal32 values. More...
 
static AkForceInline AkReal32 AK_FPMax (AkReal32 fA, AkReal32 fB)
 Branchless (where available) version returning maximum value between two AkReal32 values. More...
 
static AkForceInline void AK_FPSetValGT (AkReal32 in_fComparandA, AkReal32 in_fComparandB, AkReal32 &io_fVariableToSet, AkReal32 in_fValueIfTrue)
 Branchless comparison (where available) setting 3rd argument to 4th argument if 1st argument is greater than 2nd argument. More...
 
static AkForceInline void AK_FPSetValGTE (AkReal32 in_fComparandA, AkReal32 in_fComparandB, AkReal32 &io_fVariableToSet, AkReal32 in_fValueIfTrue)
 Branchless comparison (where available) setting 3rd argument to 4th argument if 1st argument is greater than equal 2nd argument. More...
 
static AkForceInline void AK_FPSetValLT (AkReal32 in_fComparandA, AkReal32 in_fComparandB, AkReal32 &io_fVariableToSet, AkReal32 in_fValueIfTrue)
 Branchless comparison (where available) setting 3rd argument to 4th argument if 1st argument is less than 2nd argument. More...
 
static AkForceInline void AK_FPSetValLTE (AkReal32 in_fComparandA, AkReal32 in_fComparandB, AkReal32 &io_fVariableToSet, AkReal32 in_fValueIfTrue)
 Branchless comparison (where available) setting 3rd argument to 4th argument if 1st argument is less than equal 2nd argument. More...
 

Detailed Description

Floating point performance utilities.

Definition in file AkFPUtilities.h.


Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise