mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
REVIEWED: Model scale #1700
This commit is contained in:
@ -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++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user