From f0d5a92fbd5334c54a6a330929f3c0e7d388c408 Mon Sep 17 00:00:00 2001 From: Robin KAY Date: Tue, 23 Aug 2022 21:42:34 +0100 Subject: [PATCH] Fix compilation on platforms with 32-bit usize. --- src/lib.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 91b5ad9..69fdd41 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -48,11 +48,8 @@ mod view_uniforms; // See https://alexanderameye.github.io/notes/rendering-outlines/ /// The direction to extrude the vertex when rendering the outline. -pub const ATTRIBUTE_OUTLINE_NORMAL: MeshVertexAttribute = MeshVertexAttribute::new( - "Outline_Normal", - 1585570526414773879, - VertexFormat::Float32x3, -); +pub const ATTRIBUTE_OUTLINE_NORMAL: MeshVertexAttribute = + MeshVertexAttribute::new("Outline_Normal", 1585570526, VertexFormat::Float32x3); /// Name of the render graph node which draws the outlines. ///