Project

General

Profile

« Previous | Next » 

Revision ee64e15a

Added by Leszek Koltunski over 4 years ago

A bit less Sink effect (1.25) when creating the individual cubits of the Dino - with the previous 1.30 there was a bit of an artifact visible when rotating.

View differences:

src/main/java/org/distorted/objects/RubikDino.java
192 192
    VertexEffectDeform  effect10= new VertexEffectDeform(dVec2, dRad, dCen2, dReg);
193 193
    VertexEffectDeform  effect11= new VertexEffectDeform(dVec3, dRad, dCen3, dReg);
194 194

  
195
    VertexEffectSink effect12= new VertexEffectSink( new Static1D(1.3f), center, region );
195
    VertexEffectSink effect12= new VertexEffectSink( new Static1D(1.25f), center, region );
196 196

  
197 197
    effect4.setMeshAssociation(14,-1);  // apply to mesh[1], [2] and [3]
198 198
    effect5.setMeshAssociation( 2,-1);  // apply only to mesh[1]

Also available in: Unified diff