nCine
2025.06.r503-ff15d8d
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 Sat Jun 21 2025 15:46:55 for nCine by
1.9.8