mirror of https://github.com/wayvr-org/wayvr.git
Save screen scaling changes (#16)
This commit is contained in:
parent
bc78450c6a
commit
271e037692
|
|
@ -161,6 +161,7 @@ impl OverlayState {
|
|||
}
|
||||
|
||||
let scale = self.transform.x_axis.length();
|
||||
self.saved_scale = Some(scale);
|
||||
|
||||
let col_z = (self.transform.translation - hmd.translation).normalize();
|
||||
let col_y = up_dir;
|
||||
|
|
|
|||
Loading…
Reference in New Issue