Package net.dermetfan.gdx.math
Class InterpolationUtils
java.lang.Object
net.dermetfan.gdx.math.InterpolationUtils
useful methods regarding
Interpolations- Since:
- 0.6.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
InterpolationUtils
public InterpolationUtils()
-
-
Method Details
-
get
Retrieves one of the defaultInterpolationobjects by name using reflection. This is mostly for easy specification in configuration files or similar. The name of the interpolation isconvertedto a valid java identifier. This means that it can be given in, for example, one of the following formats, wheretypeis the main type (e.g.swing) andsubis the optional sub-type (e.g.in), usually eitherinorout.typeSubtype-subtype_subtype.subtype sub
- Parameters:
name- The name of theInterpolationto retrieve. Converted to a valid java identifier.- Returns:
- The
Interpolationif found,nullif not or ifnameisnull.
-