KarmaEngine
Game Engine for practical learning and research purposes
Loading...
Searching...
No Matches
Karma::FMath Struct Reference

A general purpose structure for Math functions and utilities. More...

#include <KarmaMath.h>

Static Public Member Functions

template<class T>
static T Max (const T A, const T B)
 Returns higher value in a generic way.
 
template<class T>
static T Min (const T A, const T B)
 Returns lower value in a generic way.
 
static uint32_t CountTrailingZeros (uint32_t Value)
 No clue what this does.
 

Detailed Description

A general purpose structure for Math functions and utilities.

Member Function Documentation

◆ CountTrailingZeros()

static uint32_t Karma::FMath::CountTrailingZeros ( uint32_t Value)
inlinestatic

No clue what this does.

Todo
Not yet functional because no clear
See also
For usage, see FGenericPlatformMemory::MemswapGreaterThan8
Since
Karma 1.0.0

◆ Max()

template<class T>
static T Karma::FMath::Max ( const T A,
const T B )
inlinestatic

Returns higher value in a generic way.

Parameters
AOne of the two variables for comparison
BOne of the two variables for comparison
Returns
Maximum from A and B using glm library
Since
Karma 1.0.0

◆ Min()

template<class T>
static T Karma::FMath::Min ( const T A,
const T B )
inlinestatic

Returns lower value in a generic way.

Parameters
AOne of the two variables for comparison
BOne of the two variables for comparison
Returns
Minimum from A and B
Since
Karma 1.0.0

The documentation for this struct was generated from the following file: