chore: change default camera angle
This commit is contained in:
1 parent
b285671165
commit
284476dac7
1 file changed
+1
-1
@@ -30,7 +30,7 @@ impl Camera {
|
|||||||
/// (0, 0, 0), and a default FOV of 70 degrees.
|
/// (0, 0, 0), and a default FOV of 70 degrees.
|
||||||
pub fn new(extents: impl Into<Vector2<u32>>) -> Self {
|
pub fn new(extents: impl Into<Vector2<u32>>) -> Self {
|
||||||
let extents = extents.into();
|
let extents = extents.into();
|
||||||
let position = Vector3::new(10.0, 0.0, 0.0);
|
let position = Vector3::new(10.0, 10.0, 10.0);
|
||||||
let target = Vector3::zeros();
|
let target = Vector3::zeros();
|
||||||
|
|
||||||
// Traveling along this vector moves us toward the target.
|
// Traveling along this vector moves us toward the target.
|
||||||
|
|||||||
Reference in new issue
Block a user