From c586f5de4f5b18deaef11e3115c17b044fe1f7b5 Mon Sep 17 00:00:00 2001 From: Emmett Lalish Date: Wed, 4 Dec 2024 11:25:46 -0800 Subject: [PATCH] fix meshIO alpha type --- include/manifold/meshIO.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/manifold/meshIO.h b/include/manifold/meshIO.h index 3898b4a19..8c3be53c7 100644 --- a/include/manifold/meshIO.h +++ b/include/manifold/meshIO.h @@ -38,7 +38,7 @@ struct Material { vec3 color = vec3(1.0); /// Alpha multiplier to apply to the whole mesh (each value between 0 /// and 1). - int alpha = 1.0; + double alpha = 1.0; /// Gives the property index where the first normal channel /// can be found. 0 indicates the first three property channels following /// position. A negative value does not save normals.