![]() |
Dandelion 1.1.2
A light-weight 3D builder for educational usage
|
表示一个点光源的类。 更多...
#include <light.h>
Public 成员函数 | |
Light ()=delete | |
Light (const Eigen::Vector3f &position, float intensity) |
Public 属性 | |
Eigen::Vector3f | position |
float | intensity |
表示一个点光源的类。
|
delete |
禁止无参构造。
Light::Light | ( | const Eigen::Vector3f & | position, |
float | intensity ) |
在指定位置创建一个指定强度的点光源。
position | 光源位置 |
position | 光源强度 |
float Light::intensity |
光源强度。
Eigen::Vector3f Light::position |
光源位置。