Fix compilation on platforms with 32-bit usize.

This commit is contained in:
Robin KAY 2022-08-23 21:42:34 +01:00
parent 6191d0270e
commit f0d5a92fbd

View File

@ -48,11 +48,8 @@ mod view_uniforms;
// See https://alexanderameye.github.io/notes/rendering-outlines/ // See https://alexanderameye.github.io/notes/rendering-outlines/
/// The direction to extrude the vertex when rendering the outline. /// The direction to extrude the vertex when rendering the outline.
pub const ATTRIBUTE_OUTLINE_NORMAL: MeshVertexAttribute = MeshVertexAttribute::new( pub const ATTRIBUTE_OUTLINE_NORMAL: MeshVertexAttribute =
"Outline_Normal", MeshVertexAttribute::new("Outline_Normal", 1585570526, VertexFormat::Float32x3);
1585570526414773879,
VertexFormat::Float32x3,
);
/// Name of the render graph node which draws the outlines. /// Name of the render graph node which draws the outlines.
/// ///