增加light,material等定义
This commit is contained in:
parent
d1322a9f97
commit
14b2a782be
@ -16,7 +16,6 @@ namespace hgl
|
|||||||
lmEnd
|
lmEnd
|
||||||
};//enum LightMode
|
};//enum LightMode
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 光源类型
|
* 光源类型
|
||||||
*/
|
*/
|
||||||
|
@ -45,6 +45,15 @@ namespace hgl
|
|||||||
//
|
//
|
||||||
// Axis up_axis; ///<高度图向上轴
|
// Axis up_axis; ///<高度图向上轴
|
||||||
|
|
||||||
|
// struct
|
||||||
|
// {
|
||||||
|
// Color4f Emission; ///<散射光
|
||||||
|
// Color4f Ambient; ///<环境光
|
||||||
|
// Color4f Diffuse; ///<漫反射
|
||||||
|
// Color4f Specular; ///<镜面光
|
||||||
|
// float Shininess; ///<镜面指数
|
||||||
|
// }front,back;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
};//class Material
|
};//class Material
|
||||||
}//namespace graph
|
}//namespace graph
|
||||||
|
Loading…
x
Reference in New Issue
Block a user