Decompile fn_08006 (C3dGrannyModelRes::RebindMeshes)
Batch #13344 by SapitoSucio: 1 byte-identical, 0 confirmed by peer review. - fn_08006 C3dGrannyModelRes::RebindMeshes: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
f194c06e37
commit
ecaa16016a
1 changed files with 2 additions and 1 deletions
|
|
@ -363,8 +363,9 @@ bool C3dModelResV1::Load(const char* name) {
|
|||
// OFFSET: 0x007577E0
|
||||
// FUNCTION: fn_08006
|
||||
void C3dGrannyModelRes::RebindMeshes(const C3dGrannyModelRes& target) {
|
||||
GrannyModelInstance* instance = this->instance;
|
||||
for (int index = 0; index < this->instance->meshCount; ++index) {
|
||||
GrannyMeshEntry& entry = this->instance->meshes[index];
|
||||
GrannyMeshEntry& entry = instance->meshes[index];
|
||||
GrannyFreeMeshBinding(entry.binding);
|
||||
entry.binding = GrannyNewMeshBinding(entry.mesh, this->skeleton, target.skeleton);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue