gltf loading; world space lighting for now

This commit is contained in:
Lauri Räsänen 2023-01-23 00:24:05 +02:00
parent db95acf998
commit 1a7a6707d9
10 changed files with 546 additions and 56 deletions

View file

@ -89,10 +89,10 @@ impl Camera {
self.position +=
right * (controller.move_right - controller.move_left) * controller.speed * dt;
self.position += up * (controller.move_up - controller.move_down) * controller.speed * dt;
println!(
"camera pos ({}, {}, {})",
self.position.x, self.position.y, self.position.z
);
// println!(
// "camera pos ({}, {}, {})",
// self.position.x, self.position.y, self.position.z
// );
}
}