walk around reorienting world torus

This commit is contained in:
2016-10-19 15:14:57 -07:00
parent f2a645730c
commit 2583de70b3
5 changed files with 76 additions and 36 deletions

View File

@@ -98,7 +98,7 @@ impl ViewRoot<gfx_device_gl::Device, ColorFormat, DepthFormat> {
}
} else {
// If running without VR, just draw from some default projection near the scene origin
let head_mat = na::Similarity3::new(na::Vector3::new(0.0, -1.0, 0.0),
let head_mat = na::Similarity3::new(na::Vector3::new(0.0, -1.5, 0.0),
na::Vector3::new(0.0, 0.0, 0.0),
1.0).to_homogeneous();
let proj_mat = na::PerspectiveMatrix3::new(1.0, 90.0, NEAR, FAR).to_matrix();