summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2025-05-24 21:08:05 +0200
committerHampusM <hampus@hampusmat.com>2025-05-24 21:08:05 +0200
commitad92e2cebecb8de0cafd4e1d245a4c2ebe1898ee (patch)
treefdeaa604d45bef4d65defd48770dff6a25096ec4 /src
parentcfe142fc6c4f820331d776a424140a25c1843378 (diff)
fix: remove setting point light pos field with builder
Diffstat (limited to 'src')
-rw-r--r--src/main.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 85c9042..438b2bf 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -112,7 +112,6 @@ fn main() -> Result<(), Box<dyn Error>>
engine.spawn((
PointLight::builder()
- .position(Vec3 { x: -6.0, y: 3.0, z: 3.0 })
.diffuse(YELLOW)
.attenuation_params(AttenuationParams {
linear: 0.045,