Project

General

Profile

« Previous | Next » 

Revision a1d92a36

Added by Leszek Koltunski almost 7 years ago

Beginnings of support for the unified Data data type.

View differences:

src/main/java/org/distorted/library/type/Dynamic.java
588 588
 * @param time Time of interpolation. Time=0.0 would return the first Point, Time=0.5 - the last,
589 589
 *             time=1.0 - the first again, and time 0.1 would be 1/5 of the way between the first and the last Points.
590 590
 */
591
  public void interpolateMain(float[] buffer, int offset, long time)
591
  public void get(float[] buffer, int offset, long time)
592 592
    {
593 593
    if( mDuration<=0.0f )
594 594
      {
......
620 620
 *             if the previous time we were called the effect wasn't finished yet, but now it is.
621 621
 * @return true if the interpolation reached its end.
622 622
 */
623
  public boolean interpolateMain(float[] buffer, int offset, long time, long step)
623
  public boolean get(float[] buffer, int offset, long time, long step)
624 624
    {
625 625
    if( mDuration<=0.0f )
626 626
      {

Also available in: Unified diff