17 lines
467 B
Rust
17 lines
467 B
Rust
pub struct DiffuseAreaLight;
|
|
pub struct DistantLight;
|
|
pub struct GonioPhotometricLight;
|
|
pub struct InfiniteAreaLight;
|
|
pub struct PointLight;
|
|
pub struct ProjectionLight;
|
|
pub struct SpotLight;
|
|
|
|
pub enum Light {
|
|
DiffuseArea(Box<DiffuseAreaLight>),
|
|
Distant(Box<DistantLight>),
|
|
GonioPhotometric(Box<GonioPhotometricLight>),
|
|
InfiniteArea(Box<InfiniteAreaLight>),
|
|
Point(Box<PointLight>),
|
|
Projection(Box<ProjectionLight>),
|
|
Spot(Box<SpotLight>),
|
|
}
|