Create HouseLightingModel
This commit is contained in:
1 parent
52570a9a0b
commit
9f322bccba
67 files changed
+4536
No files matched your search
@@ -0,0 +1,33 @@
|
||||
// P3.h: interface for the CP3 class.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
#if !defined(AFX_P3_H__5B85FC65_6516_4259_941E_FAB30D13824E__INCLUDED_)
|
||||
#define AFX_P3_H__5B85FC65_6516_4259_941E_FAB30D13824E__INCLUDED_
|
||||
|
||||
#if _MSC_VER > 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER > 1000
|
||||
#include "P2.h"
|
||||
|
||||
class CP3:public CP2
|
||||
{
|
||||
public:
|
||||
CP3();
|
||||
virtual ~CP3();
|
||||
CP3(double,double,double);
|
||||
friend CP3 operator +(const CP3 &,const CP3 &);//ÔËËã·ûÖØÔØ
|
||||
friend CP3 operator -(const CP3 &,const CP3 &);
|
||||
friend CP3 operator *(const CP3 &,double);
|
||||
friend CP3 operator *(double,const CP3 &);
|
||||
friend CP3 operator /(const CP3 &,double);
|
||||
friend CP3 operator+=(CP3 &,CP3 &);
|
||||
friend CP3 operator-=(CP3 &,CP3 &);
|
||||
friend CP3 operator*=(CP3 &,double);
|
||||
friend CP3 operator/=(CP3 &,double);
|
||||
double Mag();//³¤¶È
|
||||
public:
|
||||
double z;
|
||||
};
|
||||
|
||||
#endif // !defined(AFX_P3_H__5B85FC65_6516_4259_941E_FAB30D13824E__INCLUDED_)
|
||||
Reference in new issue
Block a user