Use the new notifiable system to scale the character.
This commit is contained in:
parent
85d57fd681
commit
dbf29f13d1
10 changed files with 28 additions and 16 deletions
|
@ -7,7 +7,7 @@ namespace cloonel {
|
|||
///----------------------------------------------------------------------
|
||||
///----------------------------------------------------------------------
|
||||
float2 CalculateRatio (float2 parOriginal, float2 parResolution) {
|
||||
return parOriginal / parResolution;
|
||||
return parResolution / parOriginal;
|
||||
}
|
||||
} //unnamed namespace
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue