A general purpose structure for Math functions and utilities.
More...
#include <KarmaMath.h>
|
| 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.
|
| |
A general purpose structure for Math functions and utilities.
◆ 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
-
| A | One of the two variables for comparison |
| B | One 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
-
| A | One of the two variables for comparison |
| B | One 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: