Reshuffled
This commit is contained in:
10
src/util/math.h
Normal file
10
src/util/math.h
Normal file
@ -0,0 +1,10 @@
|
||||
// Copyright (c) 2021 Dominic Masters
|
||||
//
|
||||
// This software is released under the MIT License.
|
||||
// https://opensource.org/licenses/MIT
|
||||
|
||||
#pragma once
|
||||
|
||||
#define mathMod(a,b) (a%b+b)%b
|
||||
#define mathMax(a,b) (a<b?b:a)
|
||||
#define mathMin(a,b) (a>b?b:a)
|
Reference in New Issue
Block a user