mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
Compute view matrix from viewer pose
This commit is contained in:
parent
d1d8e97c30
commit
2e48606569
5 changed files with 51 additions and 17 deletions
|
@ -61,6 +61,10 @@ impl VREyeParameters {
|
|||
|
||||
eye_parameters
|
||||
}
|
||||
|
||||
pub fn offset_array(&self) -> [f32; 3] {
|
||||
self.parameters.borrow().offset
|
||||
}
|
||||
}
|
||||
|
||||
impl VREyeParametersMethods for VREyeParameters {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue