COSC-3P98-Final-Project/include/util/math.h

20 lines
409 B
C
Raw Normal View History

2023-02-11 16:26:47 -05:00
/*
* Created by Brett on 11/02/23.
* Licensed under GNU General Public License V3.0
* See LICENSE file for license detail
*/
#ifndef FINALPROJECT_MATH_H
#define FINALPROJECT_MATH_H
#include <cmath>
2023-03-05 15:21:35 -05:00
#include <stb/stb_perlin.h>
#include <blt/math/math.h>
#include <blt/std/logging.h>
2023-02-11 16:26:47 -05:00
static inline float degreesToRadian(float deg) {
return deg * (float)M_PI / 180.0f;
}
#endif //FINALPROJECT_MATH_H