light.h
来自「[Game.Programming].Academic - Graphics G」· C头文件 代码 · 共 27 行
H
27 行
/************************************************************************* ** 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 + =
减小字号Ctrl + -
显示快捷键?