bevy/examples/2d
ira 65252bb87a Consistently use PI to specify angles in examples. (#5825)
Examples inconsistently use either `TAU`, `PI`, `FRAC_PI_2` or `FRAC_PI_4`.
Often in odd ways and without `use`ing the constants, making it difficult to parse.

 * Use `PI` to specify angles.
 * General code-quality improvements.
 * Fix borked `hierarchy` example.


Co-authored-by: devil-ira <justthecooldude@gmail.com>
2022-08-30 19:52:11 +00:00
..
mesh2d.rs Camera Driven Rendering (#4745) 2022-06-02 00:12:17 +00:00
mesh2d_manual.rs Consistently use PI to specify angles in examples. (#5825) 2022-08-30 19:52:11 +00:00
mesh2d_vertex_color_texture.rs Make vertex colors work without textures in bevy_sprite (#5685) 2022-08-16 20:46:45 +00:00
move_sprite.rs Update codebase to use IntoIterator where possible. (#5269) 2022-07-11 15:28:50 +00:00
rotation.rs Very minor doc formatting changes (#5287) 2022-07-12 13:06:16 +00:00
shapes.rs Camera Driven Rendering (#4745) 2022-06-02 00:12:17 +00:00
sprite.rs Camera Driven Rendering (#4745) 2022-06-02 00:12:17 +00:00
sprite_flipping.rs Camera Driven Rendering (#4745) 2022-06-02 00:12:17 +00:00
sprite_sheet.rs Remove unnecessary use from examples (#5583) 2022-08-06 01:19:57 +00:00
text2d.rs Improve ergonomics and reduce boilerplate around creating text elements. (#5343) 2022-07-20 14:14:29 +00:00
texture_atlas.rs Make Resource trait opt-in, requiring #[derive(Resource)] V2 (#5577) 2022-08-08 21:36:35 +00:00
transparency_2d.rs use the default() method in examples instead of Default::default() (#4952) 2022-06-07 02:16:47 +00:00