diff options
-rw-r--r-- | src/main.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/main.rs b/src/main.rs index 95e2eae..b0ad6b2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -57,10 +57,7 @@ fn main() -> Result<(), Box<dyn Error>> ShaderProgram::new()?, )); - engine.spawn((LightSource { - position: Vec3 { x: 1.2, y: 1.0, z: 1.5 }, - ..Default::default() - },)); + engine.spawn((LightSource { ..Default::default() }, Transform::default())); engine.spawn((Camera { current: true, ..Default::default() },)); |