Update a comment about the range of morph target weight (#6265)

This commit is contained in:
daemyung jang
2022-11-04 01:19:01 +09:00
committed by GitHub
parent 31ab4a13c9
commit e64b498d6e

View File

@@ -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]);