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.
File last commit:
Show/Diff file:
Action:
SpriteFontPlus/src/FontStashSharp/FontAtlasNode.cs
12 lines | 199 B | text/x-csharp | CSharpLexer
Early working version (including all dependencies, lol).
r0 using System.Runtime.InteropServices;
namespace FontStashSharp
{
[StructLayout(LayoutKind.Sequential)]
internal struct FontAtlasNode
{
public int X;
public int Y;
public int Width;
}
}