mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Remove viewMatrix
Users are supposed to use `view.transform.inverse.matrix` The view matrix was incorrect anyway, we had forgotten to invert it, but that was okay since we transposed it by accident (due to euclid's use of the row-vector convention), and for 3DOF devices these transforms are mostly rotations so transposing instead of inverting doesn't lead to visible effects.
This commit is contained in:
parent
e73920ee97
commit
e055884564
2 changed files with 0 additions and 9 deletions
|
@ -13,6 +13,5 @@ enum XREye {
|
|||
interface XRView {
|
||||
readonly attribute XREye eye;
|
||||
readonly attribute Float32Array projectionMatrix;
|
||||
readonly attribute Float32Array viewMatrix;
|
||||
readonly attribute XRRigidTransform transform;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue