?? plane.h
字號:
// Plane.h
//
//////////////////////////////////////////////////////////////////////
#ifndef _PLANE_
#define _PLANE_
#ifndef _Vec3_
#include "Vec3.h"
#endif
class Vec3;
class Plane
{
public:
Vec3 normal,point;
float d;
Plane::Plane( Vec3 &v1, Vec3 &v2, Vec3 &v3);
Plane::Plane(void);
Plane::~Plane();
void set3Points( Vec3 &v1, Vec3 &v2, Vec3 &v3);
void setNormalAndPoint(Vec3 &normal, Vec3 &point);
void setCoefficients(float a, float b, float c, float d);
float distance(Vec3 &p);
void print();
};
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -