From e64b498d6ec022fac4113e08e5290f7835b8ec20 Mon Sep 17 00:00:00 2001 From: daemyung jang Date: Fri, 4 Nov 2022 01:19:01 +0900 Subject: [PATCH] Update a comment about the range of morph target weight (#6265) --- libs/gltfio/src/AssetLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/gltfio/src/AssetLoader.cpp b/libs/gltfio/src/AssetLoader.cpp index 46fad5b02c..185a10b38c 100644 --- a/libs/gltfio/src/AssetLoader.cpp +++ b/libs/gltfio/src/AssetLoader.cpp @@ -991,7 +991,7 @@ bool FAssetLoader::createPrimitive(const cgltf_primitive& inPrim, Primitive* out const float* minp = &accessor->min[0]; const float* maxp = &accessor->max[0]; - // We assume that the range of morph target weight is [-1,1]. + // We assume that the range of morph target weight is [0, 1]. targetAabb.min += float3(minp[0], minp[1], minp[2]); targetAabb.max += float3(maxp[0], maxp[1], maxp[2]);