ruffle/web/src
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
..
audio.rs web: Decode streams completely on preload (for now) 2019-05-09 12:43:26 -07:00
lib.rs web: Move requestAnimationFrame loop into Rust 2019-05-16 19:14:37 -07:00
render.rs Use twips for internal calculations 2019-05-17 13:40:56 -07:00
shape_utils.rs Use twips for internal calculations 2019-05-17 13:40:56 -07:00