nCine
2025.07.r505-04a2e24
A cross-platform 2D game engine
Loading...
Searching...
No Matches
include
ncine
common_constants.h
1
#ifndef NCINE_COMMON_CONSTANTS
2
#define NCINE_COMMON_CONSTANTS
3
4
namespace
ncine {
5
6
const
double
Pi = 3.141592653589793;
7
const
float
fPi = 3.1415927f;
8
const
double
DegToRad = Pi / 180.0;
9
const
float
fDegToRad = fPi / 180.0f;
10
const
double
RadToDeg = 180.0 / Pi;
11
const
float
fRadToDeg = 180.0f / fPi;
12
13
}
14
15
#endif
Generated on Sun Aug 3 2025 15:52:01 for nCine by
1.9.8