Преглед изворни кода

REVIEWED: Model scale #1700

pull/1707/head
raysan5 пре 3 година
родитељ
комит
7b37caa96c
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      src/models.c

+ 1
- 1
src/models.c Прегледај датотеку

@ -4330,7 +4330,7 @@ static void InitGLTFBones(Model* model, const cgltf_data* data)
currentTransform->rotation = QuaternionMultiply(parentTransform->rotation, currentTransform->rotation);
currentTransform->translation = Vector3RotateByQuaternion(currentTransform->translation, parentTransform->rotation);
currentTransform->translation = Vector3Add(currentTransform->translation, parentTransform->translation);
currentTransform->scale = Vector3Multiply(parentTransform->scale, parentTransform->scale);
currentTransform->scale = Vector3Multiply(currentTransform->scale, parentTransform->scale);
completedBones[i] = true;
numberCompletedBones++;
}

Loading…
Откажи
Сачувај