mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Normalize rotations
This commit is contained in:
parent
366aa78e55
commit
d044a792f1
2 changed files with 4 additions and 2 deletions
|
@ -99,7 +99,8 @@ impl XRSpace {
|
|||
orient[1] as f64,
|
||||
orient[2] as f64,
|
||||
orient[3] as f64,
|
||||
);
|
||||
)
|
||||
.normalize();
|
||||
RigidTransform3D::new(rotation, translation)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue