From 46fef8f72bff107d4c1329d2d41e0c51d6143e35 Mon Sep 17 00:00:00 2001 From: Yuki Nishidate Date: Thu, 15 Aug 2024 13:40:30 +0900 Subject: [PATCH] add prefix to literal --- include/reactive/Scene/Mesh.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/reactive/Scene/Mesh.hpp b/include/reactive/Scene/Mesh.hpp index 697f3fb..76028c6 100644 --- a/include/reactive/Scene/Mesh.hpp +++ b/include/reactive/Scene/Mesh.hpp @@ -53,10 +53,10 @@ struct CubeLineMeshCreateInfo { }; struct PlaneMeshCreateInfo { - float width = 1; - float height = 1; - uint32_t widthSegments = 1; - uint32_t heightSegments = 1; + float width = 1.0f; + float height = 1.0f; + uint32_t widthSegments = 1u; + uint32_t heightSegments = 1u; MeshUsage usage = MeshUsage::Graphics; std::string name = "Plane"; };