Revision b1950186
Added by Leszek Koltunski over 4 years ago
src/main/java/org/distorted/examples/deferredjob/DeferredJobRenderer.java | ||
---|---|---|
27 | 27 |
import org.distorted.library.effect.EffectType; |
28 | 28 |
import org.distorted.library.effect.MatrixEffectQuaternion; |
29 | 29 |
import org.distorted.library.effect.MatrixEffectScale; |
30 |
import org.distorted.library.effect.VertexEffectDeform; |
|
31 | 30 |
import org.distorted.library.effect.VertexEffectMove; |
32 | 31 |
import org.distorted.library.effect.VertexEffectRotate; |
33 |
import org.distorted.library.effect.VertexEffectScale; |
|
34 | 32 |
import org.distorted.library.main.DistortedEffects; |
35 | 33 |
import org.distorted.library.main.DistortedLibrary; |
36 | 34 |
import org.distorted.library.main.DistortedScreen; |
... | ... | |
38 | 36 |
import org.distorted.library.mesh.MeshBase; |
39 | 37 |
import org.distorted.library.mesh.MeshJoined; |
40 | 38 |
import org.distorted.library.mesh.MeshRectangles; |
41 |
import org.distorted.library.mesh.MeshTriangles; |
|
42 | 39 |
import org.distorted.library.type.Dynamic1D; |
43 | 40 |
import org.distorted.library.type.DynamicQuat; |
44 | 41 |
import org.distorted.library.type.Static1D; |
... | ... | |
151 | 148 |
|
152 | 149 |
void apply(int number) |
153 | 150 |
{ |
151 |
mRotate.setMeshAssociation(number,0); |
|
154 | 152 |
mAngle.set(360); |
155 | 153 |
mAngleDyn.resetToBeginning(); |
156 | 154 |
} |
... | ... | |
228 | 226 |
moveL.setMeshAssociation(0,0); |
229 | 227 |
moveR.setMeshAssociation(1,0); |
230 | 228 |
|
229 |
combined.apply(moveL); |
|
230 |
combined.apply(moveR); |
|
231 |
|
|
231 | 232 |
return combined; |
232 | 233 |
} |
233 | 234 |
} |
Also available in: Unified diff
Progress with DeferredJobs app/lib (still does not work though)