📄 light.h
字号:
/************************************************************************* ** CLASS: Light ** AUTHOR: Jean-Francois DOUE ** LAST MODIFICATION: 12 Oct 1993 ** ** This class implements a simple point light source. ** It just contains the color of the light source. ** *************************************************************************/#ifndef Light_h#define Light_h 1#include "Object3D.h"class Light: public Object3D{protected: vec3 col; // color of the light sourcepublic: vec3 color() { return col; }; friend istream& operator >> (istream& s, Light& a);};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -