Revision e979d285
Added by Leszek Koltunski about 4 years ago
src/main/java/org/distorted/library/effect/MatrixEffect.java | ||
---|---|---|
29 | 29 |
* 7: 4 per-effect interpolated values + 3 dimensional center. |
30 | 30 |
*/ |
31 | 31 |
public static final int NUM_UNIFORMS = 7; |
32 |
static final int CENTER_OFFSET = 4; |
|
32 | 33 |
|
33 | 34 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
34 | 35 |
/** |
Also available in: Unified diff
Add the first two VERTEX 'pseudo-matrix' effects: VERTEX_MOVE & VERTEX_QUATERNION i.e. implementations of those two MATRIX effects in VERTEX queue.
The point(s):
1) preparation for the upcoming MeshBase.preApply(VertexEffect effect) API that's going to supersede the current much more limited MeshBase.apply(MatrixEffect effect)
2) those can be put in any position in the VERTEX queue, whereas the Matrix effects always have to come last