ruffle/web
Mike Welsh 3cefeeba6a Use twips for internal calculations
Switch from pixels to twips for internal calculations. swf crate
was updated to add a Twips wrapper-type. Ruffle will use this type
internally for transforms and shapes. This fixes some precision
errors in rendering (see heroes_of_cybertron.swf) and will match
what the Flash Player does internally more closely. (e.g.
DisplayObject x and y will be quantized to 1/20 pixel units). It
is up to the renderer to convert units from twip space to pixels
when rendering.
2019-05-17 13:40:56 -07:00
..
src Use twips for internal calculations 2019-05-17 13:40:56 -07:00
www web: Move requestAnimationFrame loop into Rust 2019-05-16 19:14:37 -07:00
Cargo.toml Use twips for internal calculations 2019-05-17 13:40:56 -07:00
package-lock.json web: Re-organize npm/webpack files 2019-05-08 11:32:44 -07:00
package.json web: Re-organize npm/webpack files 2019-05-08 11:32:44 -07:00
webpack.config.js web: Re-organize npm/webpack files 2019-05-08 11:32:44 -07:00