Skip to content

Commit 202ed1d

Browse files
committed
better attributes names
1 parent 3e92132 commit 202ed1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/bevy_render/src/mesh/mesh.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,9 +260,9 @@ impl Mesh {
260260
pub const ATTRIBUTE_UV_0: &'static str = "Vertex_Uv";
261261

262262
/// Per vertex joint transform matrix weight. Use in conjunction with [`Mesh::set_attribute`]
263-
pub const ATTRIBUTE_WEIGHT: &'static str = "Vertex_JointWeight";
263+
pub const ATTRIBUTE_JOINT_WEIGHT: &'static str = "Vertex_JointWeight";
264264
/// Per vertex joint transform matrix index. Use in conjunction with [`Mesh::set_attribute`]
265-
pub const ATTRIBUTE_JOINT: &'static str = "Vertex_JointIndex";
265+
pub const ATTRIBUTE_JOINT_INDEX: &'static str = "Vertex_JointIndex";
266266

267267
/// Construct a new mesh. You need to provide a PrimitiveTopology so that the
268268
/// renderer knows how to treat the vertex data. Most of the time this will be

0 commit comments

Comments
 (0)