gltf loading; world space lighting for now
This commit is contained in:
parent
db95acf998
commit
1a7a6707d9
10 changed files with 546 additions and 56 deletions
|
@ -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
|
||||
// );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue