Lines Matching refs:weight
123 const float weight, in BlendVector3() argument
129 VEC3Scale(dst, src, weight); in BlendVector3()
134 VEC3Scale(&tmp, src, weight); in BlendVector3()
205 const float weight in BlendScaleStandard()
208 if (weight != WEIGHT_DISCARD) in BlendScaleStandard()
212 weight, dst->IsEnabledFlags(XFORM_IGNORE_S)); in BlendScaleStandard()
224 const float weight in BlendScaleAccurate()
227 if (weight != WEIGHT_DISCARD) in BlendScaleAccurate()
235 weight, dst->IsEnabledFlags(XFORM_IGNORE_S)); in BlendScaleAccurate()
259 const float weight in BlendRotateMatrix()
262 if (weight != WEIGHT_DISCARD) in BlendRotateMatrix()
269 dstMtx.f._00 = srcMtx.f._00 * weight; in BlendRotateMatrix()
270 dstMtx.f._01 = srcMtx.f._01 * weight; in BlendRotateMatrix()
271 dstMtx.f._02 = srcMtx.f._02 * weight; in BlendRotateMatrix()
273 dstMtx.f._10 = srcMtx.f._10 * weight; in BlendRotateMatrix()
274 dstMtx.f._11 = srcMtx.f._11 * weight; in BlendRotateMatrix()
275 dstMtx.f._12 = srcMtx.f._12 * weight; in BlendRotateMatrix()
281 dstMtx.f._00 += srcMtx.f._00 * weight; in BlendRotateMatrix()
282 dstMtx.f._01 += srcMtx.f._01 * weight; in BlendRotateMatrix()
283 dstMtx.f._02 += srcMtx.f._02 * weight; in BlendRotateMatrix()
285 dstMtx.f._10 += srcMtx.f._10 * weight; in BlendRotateMatrix()
286 dstMtx.f._11 += srcMtx.f._11 * weight; in BlendRotateMatrix()
287 dstMtx.f._12 += srcMtx.f._12 * weight; in BlendRotateMatrix()
302 const float weight in BlendRotateQuaternion()
305 if (weight != WEIGHT_DISCARD) in BlendRotateQuaternion()
323 addedWeight = weight; in BlendRotateQuaternion()
329 addedWeight += weight; in BlendRotateQuaternion()
330 const float t = (addedWeight != 0.0f) ? weight / addedWeight : 0.0f; in BlendRotateQuaternion()
348 const float weight in BlendTranslate()
351 if (weight != WEIGHT_DISCARD) in BlendTranslate()
359 VEC3Scale(&srcT, &srcT, weight); in BlendTranslate()
366 BlendVector3(&dstT, &srcT, weight, false); in BlendTranslate()
941 const float weight = m_Weights[animIdx]; in GetResult() local
942 if (!AnimWeightNearlyEqualZero(weight)) in GetResult()
953 weightSums[0] += weight; in GetResult()
957 weightSums[1] += weight; in GetResult()
961 weightSums[2] += weight; in GetResult()
966 weightSums[0] += weight; in GetResult()
967 weightSums[1] += weight; in GetResult()
968 weightSums[2] += weight; in GetResult()