mirror of
https://github.com/sojamo/controlp5
synced 2025-01-05 09:33:50 +01:00
Update ControllerGroup.java
`float[]` to `float...`.
This commit is contained in:
parent
b1085e4adf
commit
310d9e2d5e
@ -209,8 +209,8 @@ public abstract class ControllerGroup< T extends ControllerGroup< T > >
|
|||||||
return absolutePosition.clone();
|
return absolutePosition.clone();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ControlP5.Invisible @Override public T setAbsolutePosition( float[] thePos ) {
|
@ControlP5.Invisible @Override public T setAbsolutePosition( final float... thePos ) {
|
||||||
set( absolutePosition , x( thePos ) , y( thePos ) );
|
set( absolutePosition , thePos );
|
||||||
return me;
|
return me;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -225,7 +225,7 @@ public abstract class ControllerGroup< T extends ControllerGroup< T > >
|
|||||||
return updateAbsolutePosition( );
|
return updateAbsolutePosition( );
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override public T setPosition( float[] thePosition ) {
|
@Override public T setPosition( final float... thePosition ) {
|
||||||
return setPosition( x( thePosition ) , y( thePosition ) );
|
return setPosition( x( thePosition ) , y( thePosition ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -741,7 +741,7 @@ public abstract class ControllerGroup< T extends ControllerGroup< T > >
|
|||||||
return me;
|
return me;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override public T setArrayValue( float[] theArray ) {
|
@Override public T setArrayValue( final float... theArray ) {
|
||||||
_myArrayValue = theArray;
|
_myArrayValue = theArray;
|
||||||
return me;
|
return me;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user