added clone to light
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
use nalgebra::{Point3, Vector3};
|
use nalgebra::{Point3, Vector3};
|
||||||
|
|
||||||
|
#[derive(Clone)]
|
||||||
pub struct Light {
|
pub struct Light {
|
||||||
pub colour: Vector3<f32>,
|
pub colour: Vector3<f32>,
|
||||||
pub position: Point3<f32>,
|
pub position: Point3<f32>,
|
||||||
|
|||||||
Reference in New Issue
Block a user