Added line breaks to bitmap font.

This commit is contained in:
2020-07-04 16:14:32 -05:00
parent 75ef59293f
commit 5a8e7a9ccb
2 changed files with 17 additions and 5 deletions

View File

@@ -89,7 +89,7 @@ namespace SlatedGameToolkit.Tools.Utilities.Playground
renderer.Draw(logo);
renderer.Draw(textureTester);
renderer.Draw(untextured);
font.Draw(renderer, 0.25f, -0.35f, "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890", Color.White);
font.WriteLine(renderer, 0.25f, -0.35f, "ABCDEFGHIJKLMNOPQRSTUVWXYZ\n1234567890", Color.White);
renderer.End();
}