Engines/FlatRedBallXNA/FlatRedBall.Content/ModelAnimation/X File/XFileTokenizer.cs
/// <summary>
/// Parses a float from a .X file
/// </summary>
/// <returns>The float represented by the next token</returns>
Parses a float from a .X file
Parses a float from a . X file
public float NextFloat()
        {
            float x = 0;
            try
            {
                x = float.Parse(tokens[tokenIndex++], System.Globalization.NumberStyles.Float);
            }
            catch (Exception e)
            {
                Throw(typeof(float), e, tokens[tokenIndex]);
            }
            finally
            {
                tokenIndex++;
            }
            return x;
        }
public float NextFloat ( ) { float x = 0 ; try { x = float . Parse ( tokens [ tokenIndex ++ ] , System . Globalization . NumberStyles . Float ) ; } catch ( Exception e ) { Throw ( typeof ( float ) , e , tokens [ tokenIndex ] ) ; } finally { tokenIndex ++ ; } return x ; }
Parses a float from a .X file
Parses a float from a . X file
The float represented by the next token
The float represented by the next token