Program Listing for File fmath.h

Return to documentation for file (PrismEngine/src/fmath.h)

#pragma once

#ifdef _WIN32
#include <corecrt_math_defines.h>
#endif

#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif

#ifndef M_E
#define M_E 2.71828182845904523536
#endif

namespace prism {
    namespace math {

        float degToRad(float degrees);

    } // namespace math
} // namespace prism