GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
math_utils.h File Reference
#include <inttypes.h>
#include "draco/core/vector_d.h"
Include dependency graph for math_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  draco

Macros

#define DRACO_INCREMENT_MOD(I, M)

Functions

uint64_t draco::IntSqrt (uint64_t number)
template<typename DataTypeT, typename std::enable_if< std::is_integral< DataTypeT >::value &&std::is_signed< DataTypeT >::value >::type * = nullptr>
DataTypeT draco::AddAsUnsigned (DataTypeT a, DataTypeT b)

Macro Definition Documentation

◆ DRACO_INCREMENT_MOD

#define DRACO_INCREMENT_MOD ( I,
M )
Value:
(((I) == ((M)-1)) ? 0 : ((I) + 1))
Definition GameApi.h:18