| 1 |
package org.papervision3d.core.animation.key |
|---|
| 2 |
{ |
|---|
| 3 |
import org.papervision3d.core.animation.key.CurveKey3D; |
|---|
| 4 |
|
|---|
| 5 |
/** |
|---|
| 6 |
* @author Tim Knip / floorplanner.com |
|---|
| 7 |
*/ |
|---|
| 8 |
public class LinearCurveKey3D extends CurveKey3D |
|---|
| 9 |
{ |
|---|
| 10 |
/** |
|---|
| 11 |
* |
|---|
| 12 |
*/ |
|---|
| 13 |
public function LinearCurveKey3D(input : Number = 0, output : Number = 0) |
|---|
| 14 |
{ |
|---|
| 15 |
super(input, output); |
|---|
| 16 |
} |
|---|
| 17 |
|
|---|
| 18 |
/** |
|---|
| 19 |
* Clone. |
|---|
| 20 |
* |
|---|
| 21 |
* @return The cloned key. |
|---|
| 22 |
*/ |
|---|
| 23 |
override public function clone() : CurveKey3D |
|---|
| 24 |
{ |
|---|
| 25 |
return new LinearCurveKey3D(this.input, this.output); |
|---|
| 26 |
} |
|---|
| 27 |
} |
|---|
| 28 |
} |
|---|