fnmathematical.h

来自「在人脸检测的基础之上,对嘴部的运动表情进行分析,进行语音模拟.」· C头文件 代码 · 共 24 行

H
24
字号
// FnMathematical.h: interface for the FnMath class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_FNMATH_H__30B7D88B_BB9B_11D2_9B76_204C4F4F5020__INCLUDED_)
#define AFX_FNMATH_H__30B7D88B_BB9B_11D2_9B76_204C4F4F5020__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

#define STR_PRECISION "(%.15le,%.15le)\n"

#define ROUND(x) ((ceil(x) - (x)) > ((x) - floor(x))) ? floor(x) : ceil(x); 

#define PI 3.14159265 

#define MAX(x,y) ((x)>(y))?x:y;
#define MIN(x,y) ((x)<(y))?x:y;

#define MAX_RAND (pow(2.0,31.0)-1.0)     //(2**31)-1

#endif // !defined(AFX_FNMATH_H__30B7D88B_BB9B_11D2_9B76_204C4F4F5020__INCLUDED_)

⌨️ 快捷键说明

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