public final class MovingMatrix4
extends java.lang.Object
| Constructor | Description |
|---|---|
MovingMatrix4(Matrix4 m) |
Constructs a simple static matrix.
|
| Modifier and Type | Method | Description |
|---|---|---|
Matrix4 |
getData(int i) |
Get the matrix for the given time step.
|
MovingMatrix4 |
inverse() |
|
int |
numSegments() |
Get the number of matrix segments
|
Matrix4 |
sample(float time) |
|
void |
setSteps(int n) |
Redefines the number of steps in the matrix.
|
void |
updateData(int i,
Matrix4 m) |
Updates the matrix for the given time step.
|
void |
updateTimes(float t0,
float t1) |
Update the time extents over which the matrix data is changing.
|
public MovingMatrix4(Matrix4 m)
m - matrix value at all timespublic void setSteps(int n)
n - public void updateData(int i,
Matrix4 m)
i - time step to updatem - new value for the matrix at this time steppublic Matrix4 getData(int i)
i - time step to getpublic int numSegments()
public void updateTimes(float t0,
float t1)
t0 - t1 - public MovingMatrix4 inverse()
public Matrix4 sample(float time)