⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 constants.h

📁 java实现的简单的分形树。简单易学!是学习分形知识的很好的例子。其java语法简单
💻 H
字号:
// --------------------------------------------------------------------------
// Dingus project - a collection of subsystems for game/graphics applications
// --------------------------------------------------------------------------

#ifndef __MATH_CONSTANTS_H
#define __MATH_CONSTANTS_H

#include <float.h>


namespace dingus {


/** PI constant. */
const float PY = 3.1415926535897932384626433832795029f;
/** Sqrt(1/2) constant. */
const float SQRT12 = 0.7071067811865475244008443621048490f;


/** Maximum float value. */
const float DINGUS_MAX_FLOAT = FLT_MAX;
/** Minimum positive float value. */
const float DINGUS_MIN_FLOAT = FLT_MIN;

/** Big float value. */
const float DINGUS_BIG_FLOAT = 1.0e30f;
/** Very small float value. */
const float DINGUS_SMALL_FLOAT = FLT_EPSILON;


};


#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -