Revision 9becf30e
Added by Leszek Koltunski over 3 years ago
src/main/java/org/distorted/library/effect/VertexEffect.java | ||
---|---|---|
19 | 19 |
|
20 | 20 |
package org.distorted.library.effect; |
21 | 21 |
|
22 |
import org.distorted.library.main.DistortedEffects; |
|
22 | 23 |
import org.distorted.library.type.Static4D; |
23 | 24 |
|
24 | 25 |
import java.lang.reflect.Method; |
... | ... | |
212 | 213 |
{ |
213 | 214 |
mAndAssociation = andAssociation; |
214 | 215 |
mEquAssociation = equAssociation; |
216 |
|
|
217 |
DistortedEffects.setAssociation(getID()); |
|
215 | 218 |
} |
216 | 219 |
} |
Also available in: Unified diff
Speedup: remember the mesh associations of VertexEffects only once, when they actually change, and not every time we compute() a VertexQueue.