This commit is contained in:
parent
ed53f248c2
commit
c7262712b5
1 changed files with 10 additions and 0 deletions
|
|
@ -46,6 +46,16 @@ namespace DMX2
|
|||
{
|
||||
return _s;
|
||||
}
|
||||
public override float GetFloat ()
|
||||
{
|
||||
float f;
|
||||
if(float.TryParse(_s,out f)) return f;
|
||||
return 0.0f;
|
||||
}
|
||||
public override int GetInt ()
|
||||
{
|
||||
return (int)GetFloat();
|
||||
}
|
||||
}
|
||||
private class OSCIntArg : OSCArg{
|
||||
int _i;
|
||||
|
|
|
|||
Loading…
Reference in a new issue