Project

General

Profile

« Previous | Next » 

Revision 568b29d8

Added by Leszek Koltunski almost 8 years ago

Major push towards simplifying DistortedObject's public API.
All MATRIX effects are using the new API - the 'DataND' marker interfaces.

View differences:

src/main/java/org/distorted/library/EffectQueueFragment.java
22 22
import android.opengl.GLES20;
23 23

  
24 24
import org.distorted.library.message.EffectMessage;
25
import org.distorted.library.type.Float2D;
26
import org.distorted.library.type.Float3D;
27
import org.distorted.library.type.Float4D;
28
import org.distorted.library.type.Interpolator;
29
import org.distorted.library.type.Interpolator1D;
30
import org.distorted.library.type.Interpolator2D;
25
import org.distorted.library.type.Dynamic1D;
26
import org.distorted.library.type.Static2D;
27
import org.distorted.library.type.Static3D;
28
import org.distorted.library.type.Static4D;
29
import org.distorted.library.type.Dynamic;
30
import org.distorted.library.type.Dynamic2D;
31 31

  
32 32
///////////////////////////////////////////////////////////////////////////////////////////////////
33 33

  
......
169 169
  
170 170
///////////////////////////////////////////////////////////////////////////////////////////////////
171 171
       
172
  synchronized long add(EffectNames eln, Interpolator inter, Float4D region, Interpolator2D point)
172
  synchronized long add(EffectNames eln, Dynamic inter, Static4D region, Dynamic2D point)
173 173
    {
174 174
    if( mMax[INDEX]>mNumEffects )
175 175
      {
......
199 199
  
200 200
///////////////////////////////////////////////////////////////////////////////////////////////////
201 201

  
202
  synchronized long add(EffectNames eln, Interpolator inter, Float4D region, Float2D point)
202
  synchronized long add(EffectNames eln, Dynamic inter, Static4D region, Static2D point)
203 203
    {
204 204
    if( mMax[INDEX]>mNumEffects )
205 205
      {
......
231 231
  
232 232
///////////////////////////////////////////////////////////////////////////////////////////////////
233 233
       
234
  synchronized long add(EffectNames eln, Interpolator1D inter, Float3D c, Float4D region, Interpolator2D point)
234
  synchronized long add(EffectNames eln, Dynamic1D inter, Static3D c, Static4D region, Dynamic2D point)
235 235
    {
236 236
    if( mMax[INDEX]>mNumEffects )
237 237
      {
......
264 264
  
265 265
///////////////////////////////////////////////////////////////////////////////////////////////////
266 266

  
267
  synchronized long add(EffectNames eln, Interpolator1D inter, Float3D c, Float4D region, Float2D point)
267
  synchronized long add(EffectNames eln, Dynamic1D inter, Static3D c, Static4D region, Static2D point)
268 268
    {
269 269
    if( mMax[INDEX]>mNumEffects )
270 270
      {
......
299 299
  
300 300
///////////////////////////////////////////////////////////////////////////////////////////////////
301 301
       
302
  synchronized long add(EffectNames eln, float t, Float3D c, Float4D region, Interpolator2D point)
302
  synchronized long add(EffectNames eln, float t, Static3D c, Static4D region, Dynamic2D point)
303 303
    {
304 304
    if( mMax[INDEX]>mNumEffects )
305 305
      {
......
333 333
  
334 334
///////////////////////////////////////////////////////////////////////////////////////////////////
335 335

  
336
  synchronized long add(EffectNames eln, float t, Float3D c, Float4D region, Float2D point)
336
  synchronized long add(EffectNames eln, float t, Static3D c, Static4D region, Static2D point)
337 337
    {
338 338
    if( mMax[INDEX]>mNumEffects )
339 339
      {

Also available in: Unified diff