mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-09 23:34:20 +00:00
CharacterFunctions: Add new function to move pointer past whitespace
This commit is contained in:
parent
dc6b4ee43f
commit
64b9366e8f
17 changed files with 46 additions and 23 deletions
|
|
@ -143,7 +143,7 @@ private:
|
|||
|
||||
static float parseFloat (String::CharPointerType& t)
|
||||
{
|
||||
t = t.findEndOfWhitespace();
|
||||
t.incrementToEndOfWhitespace();
|
||||
return (float) CharacterFunctions::readDoubleValue (t);
|
||||
}
|
||||
|
||||
|
|
@ -211,7 +211,7 @@ private:
|
|||
{
|
||||
TripleIndex i;
|
||||
|
||||
t = t.findEndOfWhitespace();
|
||||
t.incrementToEndOfWhitespace();
|
||||
i.vertexIndex = t.getIntValue32() - 1;
|
||||
t = findEndOfFaceToken (t);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue