There was an error while loading. Please reload this page.
1 parent ed33a49 commit 31bc4b1Copy full SHA for 31bc4b1
1 file changed
src/Processing.h
@@ -1273,6 +1273,9 @@ static constexpr float TWO_PI = static_cast<float>(M_PI * 2.0);
1273
static constexpr float HALF_PI = static_cast<float>(M_PI / 2.0);
1274
static constexpr float QUARTER_PI = static_cast<float>(M_PI / 4.0);
1275
static constexpr float TAU = TWO_PI; // alias
1276
+static constexpr float THIRD_PI = static_cast<float>(M_PI / 3.0);
1277
+static constexpr float DEG_TO_RAD = static_cast<float>(M_PI / 180.0);
1278
+static constexpr float RAD_TO_DEG = static_cast<float>(180.0 / M_PI);
1279
1280
// Renderer flags for size()
1281
static constexpr int P2D = 2;
0 commit comments