Show More
Commit Description:
Remove cull() check....
Commit Description:
Remove cull() check.
This speeds up drawing tiles by a factor of roughly 2, lol.
When drawing a 200x200 map, drawing tiles goes from taking 24ms to 12ms.
References:
File last commit:
Show/Diff file:
Action:
SpriteFontPlus/samples/SpriteFontPlus.Samples.TextureAtlasFull/Program.cs
20 lines | 414 B | text/x-csharp | CSharpLexer
20 lines | 414 B | text/x-csharp | CSharpLexer
r0 | using System; | |||
namespace SpriteFontPlus.Samples.TextureAtlasFull | ||||
{ | ||||
/// <summary> | ||||
/// The main class. | ||||
/// </summary> | ||||
public static class Program | ||||
{ | ||||
/// <summary> | ||||
/// The main entry point for the application. | ||||
/// </summary> | ||||
[STAThread] | ||||
static void Main() | ||||
{ | ||||
using (var game = new Game1()) | ||||
game.Run(); | ||||
} | ||||
} | ||||
} | ||||