bevy/examples/3d
ira 2c5d072e76 Allow passing glam vector types as vertex attributes (#6442)
Allow passing `Vec`s of glam vector types as vertex attributes.
Alternative to #4548 and #2719

Also used some macros to cut down on all the repetition.

# Migration Guide
Implementations of `From<Vec<[u16; 4]>>` and `From<Vec<[u8; 4]>>` for `VertexAttributeValues` have been removed.
I you're passing either `Vec<[u16; 4]>` or `Vec<[u8; 4]>` into `Mesh::insert_attribute` it will now require wrapping it with right the `VertexAttributeValues` enum variant. 

Co-authored-by: devil-ira <justthecooldude@gmail.com>
2022-11-04 03:45:17 +00:00
..
3d_scene.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
3d_shapes.rs Use plugin setup for resource only used at setup time (#6360) 2022-10-25 22:19:34 +00:00
bloom.rs Bloom (#6397) 2022-11-04 01:34:12 +00:00
fxaa.rs Add FXAA postprocessing (#6393) 2022-11-02 06:51:28 +00:00
lighting.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
lines.rs Allow passing glam vector types as vertex attributes (#6442) 2022-11-04 03:45:17 +00:00
load_gltf.rs Add global time scaling (#5752) 2022-10-22 18:52:29 +00:00
msaa.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
orthographic.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
parenting.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
pbr.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
render_to_texture.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
shadow_biases.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
shadow_caster_receiver.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
skybox.rs Add global time scaling (#5752) 2022-10-22 18:52:29 +00:00
spherical_area_lights.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
split_screen.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
spotlight.rs Add global time scaling (#5752) 2022-10-22 18:52:29 +00:00
texture.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
transparency_3d.rs Add global time scaling (#5752) 2022-10-22 18:52:29 +00:00
two_passes.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
update_gltf_scene.rs Add methods to Query<&Children> and Query<&Parent> to iterate over descendants and ancestors (#6185) 2022-10-31 15:57:50 +00:00
vertex_colors.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
wireframe.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00