walk around reorienting world torus
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user