mirror of
https://github.com/Ragora/T2-CPP.git
synced 2026-02-23 00:23:37 +00:00
Added a minor bug fix to the transform
This commit is contained in:
parent
172d88a546
commit
8c1723d6ba
1 changed files with 2 additions and 0 deletions
|
|
@ -31,6 +31,7 @@ namespace DX
|
|||
char * argv[] = { &arg0[0], NULL };
|
||||
int argc = 1;
|
||||
Con::setMatrixRotation(objtoworld,argc,(const char **)argv,NULL,0);
|
||||
Con::setMatrixRotation(renderobjtoworld,argc,(const char **)argv,NULL,0);
|
||||
}
|
||||
|
||||
void SceneObject::setPosition(float pos []) {
|
||||
|
|
@ -39,5 +40,6 @@ namespace DX
|
|||
char * argv[] = { &arg0[0], NULL };
|
||||
int argc = 1;
|
||||
Con::setMatrixPosition(objtoworld,argc,(const char **)argv,NULL,0);
|
||||
Con::setMatrixPosition(renderobjtoworld,argc,(const char **)argv,NULL,0);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue