Exemple #1
0
 private Vector2 CalculateRenderTargetPos(float scale)
 {
     return((graphics.PreferredBackBufferSize() / 2f - renderTarget.GetSize() / 2f * scale).RoundVector());
 }