Project

General

Profile

« Previous | Next » 

Revision 7bf107f7

Added by Leszek Koltunski almost 8 years ago

Some more progress with porting apps to new VERTEX API.

View differences:

src/main/java/org/distorted/examples/fbo/FBORenderer.java
134 134

  
135 135
      mText.move( new Static3D(lisaWidth/6,lisaHeight/3,0) );
136 136
      mText.scale( new Static3D(factor,factor,factor) );
137
      mText.sink(0.5f, new Static2D( textWidth/2, textHeight/2), 5000, 0.0f);
137

  
138
      Dynamic1D sinkDyn = new Dynamic1D();
139
      sinkDyn.setDuration(5000);
140
      sinkDyn.setCount(0);
141
      sinkDyn.add(new Static1D(1.0f));
142
      sinkDyn.add(new Static1D(0.5f));
143

  
144
      mText.sink(sinkDyn, new Static2D(textWidth/2,textHeight/2));
138 145

  
139 146
      Dynamic1D macroblockDyn = new Dynamic1D();
140 147
      macroblockDyn.setDuration(10000);

Also available in: Unified diff