Revision 6e4699db
Added by Leszek Koltunski about 1 month ago
src/main/java/org/distorted/library/uniformblock/UniformBlockAssociation.java | ||
---|---|---|
106 | 106 |
|
107 | 107 |
public void setEffectAssociationNow(int comp, int andAssociation, int equAssociation) |
108 | 108 |
{ |
109 |
mAssociations[mStride*comp+LOC_AND] &= 0x8000; |
|
110 |
mAssociations[mStride*comp+LOC_AND] += (andAssociation & 0x7fff); |
|
111 |
mAssociations[mStride*comp+LOC_EQU] = equAssociation; |
|
109 |
int index = mStride*comp; |
|
110 |
mAssociations[index+LOC_AND] &= 0x8000; |
|
111 |
mAssociations[index+LOC_AND] += (andAssociation & 0x7fff); |
|
112 |
mAssociations[index+LOC_EQU] = equAssociation; |
|
112 | 113 |
|
113 | 114 |
mUBO.invalidate(); |
114 | 115 |
} |
Also available in: Unified diff
corrections for glowing.