From de48442a11aa0638e2fbe70df8b31e264ab3b03e Mon Sep 17 00:00:00 2001 From: HampusM Date: Fri, 24 May 2024 19:20:16 +0200 Subject: fix: make point light have correct position --- src/main.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index a9bb704..1ec6d65 100644 --- a/src/main.rs +++ b/src/main.rs @@ -71,6 +71,7 @@ fn main() -> Result<(), Box> engine.spawn(( PointLight::builder() + .position(Vec3 { x: -6.0, y: 3.0, z: 3.0 }) .diffuse(YELLOW) .attenuation_params(AttenuationParams { linear: 0.045, -- cgit v1.2.3-18-g5258