Project

General

Profile

« Previous | Next » 

Revision 1f2cb152

Added by Leszek Koltunski almost 6 years ago

Further fixes for the new fully 3D vertex region.

View differences:

src/main/java/org/distorted/library/effect/VertexEffectDeform.java
162 162
    super(EffectName.DEFORM);
163 163
    mVector = vector;
164 164
    mCenter = center;
165
    mRegion = (region==null ? new Static4D(0,0,Float.MAX_VALUE, Float.MAX_VALUE) : region);
165
    mRegion = (region==null ? new Static4D(0,0,0, Float.MAX_VALUE) : region);
166 166
    }
167 167

  
168 168
///////////////////////////////////////////////////////////////////////////////////////////////////
src/main/java/org/distorted/library/effect/VertexEffectDistort.java
146 146
    super(EffectName.DISTORT);
147 147
    mVector = vector;
148 148
    mCenter = center;
149
    mRegion = (region==null ? new Static4D(0,0,Float.MAX_VALUE, Float.MAX_VALUE) : region);
149
    mRegion = (region==null ? new Static4D(0,0,0, Float.MAX_VALUE) : region);
150 150
    }
151 151

  
152 152
///////////////////////////////////////////////////////////////////////////////////////////////////
src/main/java/org/distorted/library/effect/VertexEffectPinch.java
93 93
    super(EffectName.PINCH);
94 94
    mPinch  = pinch;
95 95
    mCenter = center;
96
    mRegion = (region==null ? new Static4D(0,0,Float.MAX_VALUE, Float.MAX_VALUE) : region);
96
    mRegion = (region==null ? new Static4D(0,0,0, Float.MAX_VALUE) : region);
97 97
    }
98 98

  
99 99
///////////////////////////////////////////////////////////////////////////////////////////////////
src/main/java/org/distorted/library/effect/VertexEffectSink.java
88 88
    super(EffectName.SINK);
89 89
    mSink   = sink;
90 90
    mCenter = center;
91
    mRegion = (region==null ? new Static4D(0,0,Float.MAX_VALUE, Float.MAX_VALUE) : region);
91
    mRegion = (region==null ? new Static4D(0,0,0, Float.MAX_VALUE) : region);
92 92
    }
93 93

  
94 94
///////////////////////////////////////////////////////////////////////////////////////////////////
src/main/java/org/distorted/library/effect/VertexEffectSwirl.java
97 97
    super(EffectName.SWIRL);
98 98
    mSwirl  = swirl;
99 99
    mCenter = center;
100
    mRegion = (region==null ? new Static4D(0,0,Float.MAX_VALUE, Float.MAX_VALUE) : region);
100
    mRegion = (region==null ? new Static4D(0,0,0, Float.MAX_VALUE) : region);
101 101
    }
102 102

  
103 103
///////////////////////////////////////////////////////////////////////////////////////////////////
src/main/java/org/distorted/library/effect/VertexEffectWave.java
220 220
    super(EffectName.WAVE);
221 221
    mWave   = wave;
222 222
    mCenter = center;
223
    mRegion = (region==null ? new Static4D(0,0,Float.MAX_VALUE, Float.MAX_VALUE) : region);
223
    mRegion = (region==null ? new Static4D(0,0,0, Float.MAX_VALUE) : region);
224 224
    }
225 225

  
226 226
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff