Project

General

Profile

« Previous | Next » 

Revision 96381044

Added by Leszek Koltunski about 2 years ago

Further progress with Bandaged 3x3.
This requires a new API in DistortedNode to change the Mesh there.

View differences:

src/main/java/org/distorted/library/main/DistortedNode.java
41 41
  {
42 42
  private static final int DEFAULT_FBO_SIZE = 100;
43 43

  
44
  private final MeshBase mMesh;
45 44
  private final DistortedEffects mEffects;
46 45
  private final InternalRenderState mState;
47 46
  private final InternalChildrenList mChildren;
48 47
  private InternalChildrenList.Parent mParent;
49 48
  private InternalSurface mSurface;
50 49
  private InternalNodeData mData;
50
  private MeshBase mMesh;
51 51

  
52 52
  private int mFboW, mFboH, mFboDepthStencil;
53 53
  private boolean mRenderWayOIT;
......
562 562
    return mMesh;
563 563
    }
564 564

  
565
///////////////////////////////////////////////////////////////////////////////////////////////////
566
/**
567
 * Set a new Mesh.
568
 */
569
  public void setMesh(MeshBase mesh)
570
    {
571
    mMesh = mesh;
572
    }
573

  
565 574
///////////////////////////////////////////////////////////////////////////////////////////////////
566 575
/**
567 576
 * Resizes the DistortedFramebuffer object that we render this Node to.

Also available in: Unified diff