Project

General

Profile

« Previous | Next » 

Revision c90aca24

Added by Leszek Koltunski about 4 years ago

Move the 'pre-multiply mesh before applying any effects' thing from [(Xsize of texture, Ysize of texture) x Mesh's zFactor] to Effects.setStretch(sx,sy,sz)

View differences:

src/main/java/org/distorted/library/mesh/MeshQuad.java
56 56
   */
57 57
  public MeshQuad()
58 58
    {
59
    super(0.0f);
60

  
61 59
    float[] attribs= new float[VERT_ATTRIBS*4];
62 60

  
63 61
    addVertex(0.0f,0.0f, attribs,0);

Also available in: Unified diff