mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-05 13:30:34 +00:00
Simple pass over the codebase to standardize the platform types.
This commit is contained in:
parent
c75d6feb20
commit
4c35fd37af
189 changed files with 824 additions and 824 deletions
|
|
@ -126,10 +126,10 @@ public:
|
|||
float xdone = ((float)getExtent().x/(float)texture->mBitmapSize.x)+1;
|
||||
float ydone = ((float)getExtent().y/(float)texture->mBitmapSize.y)+1;
|
||||
|
||||
int xshift = mStartPoint.x%texture->mBitmapSize.x;
|
||||
int yshift = mStartPoint.y%texture->mBitmapSize.y;
|
||||
for(int y = 0; y < ydone; ++y)
|
||||
for(int x = 0; x < xdone; ++x)
|
||||
S32 xshift = mStartPoint.x%texture->mBitmapSize.x;
|
||||
S32 yshift = mStartPoint.y%texture->mBitmapSize.y;
|
||||
for(S32 y = 0; y < ydone; ++y)
|
||||
for(S32 x = 0; x < xdone; ++x)
|
||||
{
|
||||
srcRegion.set(0,0,texture->mBitmapSize.x,texture->mBitmapSize.y);
|
||||
dstRegion.set( ((texture->mBitmapSize.x*x)+offset.x)-xshift,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue