Initialize() private method

private Initialize ( float scale ) : void
scale float
return void
Example #1
0
 public void AdjustScale(float factor)
 {
     texture.Initialize(1.0f / factor);
     _width  = (int)(texture.ImageWidth * factor);
     _height = (int)(texture.ImageHeight * factor);
 }