PhysicsBasedAnimationToolkit
0.0.10
Cross-platform C++20 library of algorithms and data structures commonly used in computer graphics research on physically-based simulation.
Loading...
Searching...
No Matches
Modulo.h
Go to the documentation of this file.
1
8
9
#ifndef PBAT_COMMON_MODULO_H
10
#define PBAT_COMMON_MODULO_H
11
12
namespace
pbat::common
{
13
14
auto
Modulo(
auto
a,
auto
b)
15
{
16
return
(a % b + b) % b;
17
}
18
19
}
// namespace pbat::common
20
21
#endif
// PBAT_COMMON_MODULO_H
pbat::common
Common functionality.
Definition
ArgSort.h:20
source
pbat
common
Modulo.h
Generated by
1.13.2