render iteration
This commit is contained in:
14
src/components/lights/point.rs
Normal file
14
src/components/lights/point.rs
Normal file
@@ -0,0 +1,14 @@
|
||||
use glam::Vec3;
|
||||
|
||||
pub struct PointlightComponent
|
||||
{
|
||||
pub offset: Vec3,
|
||||
}
|
||||
|
||||
impl PointlightComponent
|
||||
{
|
||||
pub fn new(offset: Vec3) -> Self
|
||||
{
|
||||
Self { offset }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user