ximath.h

来自「It s a tool designed to extract as much 」· C头文件 代码 · 共 40 行

H
40
字号
#if !defined(__ximath_h)#define __ximath_h#include "ximadef.h"//***bd*** simple floating point pointclass DLL_EXP CxPoint2{public:  CxPoint2();  CxPoint2(float const x_, float const y_);  CxPoint2(CxPoint2 const &p);  float Distance(CxPoint2 const p2);  float Distance(float const x_, float const y_);  float x,y;};//and simple rectangleclass DLL_EXP CxRect2{public:  CxRect2();  CxRect2(float const x1_, float const y1_, float const x2_, float const y2_);  CxRect2(CxPoint2 const &bl, CxPoint2 const &tr);  CxRect2(CxRect2 const &p);  float Surface() const;  CxRect2 CrossSection(CxRect2 const &r2) const;  CxPoint2 Center() const;  float Width() const;  float Height() const;  CxPoint2 botLeft;  CxPoint2 topRight;};#endif

⌨️ 快捷键说明

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