servo / rust-webvr

UNMAINTAINED - WebVR API implementation for servo.
Mozilla Public License 2.0
106 stars 23 forks source link

Use euclid for matrices? #40

Open asajeffrey opened 5 years ago

asajeffrey commented 5 years ago

At the moment the API uses raw float arrays to represent matrices, which means we can't use matrix operations (subtraction, multiplication, etc) and there is no record in the types of units.

asajeffrey commented 5 years ago

The euclid docs: https://docs.rs/euclid