added clone to light

This commit is contained in:
2023-11-19 12:23:48 -05:00
parent 4d097844ca
commit f0843c8869
+1
View File
@@ -1,5 +1,6 @@
use nalgebra::{Point3, Vector3};
#[derive(Clone)]
pub struct Light {
pub colour: Vector3<f32>,
pub position: Point3<f32>,