* TextPrinter.cs: Updated licensing information and fixed some spacing

problems.
This commit is contained in:
the_fiddler 2008-05-05 17:13:22 +00:00
parent 7bb6b91cbf
commit 7920b65ac4

View file

@ -1,6 +1,8 @@
#region --- License --- #region --- License ---
/* Copyright (c) 2006, 2007 Stefanos Apostolopoulos /* Licensed under the MIT/X11 license.
* See license.txt for license info * Copyright (c) 2006-2008 the OpenTK Team.
* This notice may not be removed from any source distribution.
* See license.txt for licensing details.
*/ */
#endregion #endregion
@ -26,10 +28,14 @@ namespace OpenTK.Graphics
public class TextPrinter : ITextPrinter public class TextPrinter : ITextPrinter
{ {
//static Regex break_point = new Regex("[ .,/*-+?\\!=]", RegexOptions.Compiled | RegexOptions.IgnoreCase); //static Regex break_point = new Regex("[ .,/*-+?\\!=]", RegexOptions.Compiled | RegexOptions.IgnoreCase);
//static char[] split_chars = new char[] { ' ', '\n', '\t', ',', '.', '/', '?', '!', ';', '\\', '-', '+', '*', '=' }; //static char[] split_chars = new char[]
//{
// ' ', '\n', '\t', ',', '.', '/', '?', '!', ';', '\\', '-', '+', '*', '='
//};
static ITextPrinterImplementation printer; static ITextPrinterImplementation printer;
float[] viewport = new float[4]; float[] viewport = new float[4];
Vector2[] vertices = new Vector2[8 * 8]; // Interleaved, vertex, texcoord, vertex, etc... Starts with 8 chars, will expand as needed. // Interleaved, vertex, texcoord, vertex, etc... Starts with 8 chars, will expand as needed.
Vector2[] vertices = new Vector2[8 * 8];
ushort[] indices = new ushort[6 * 8]; ushort[] indices = new ushort[6 * 8];
#region --- Constructor --- #region --- Constructor ---