Program Listing for File fmath.cpp

Return to documentation for file (src\fmath.cpp)

#include "fmath.h"

namespace prism {
    namespace math {
        float degToRad(float degrees) {
            return degrees * (float)M_PI / 180.0f;
        }
    }
}