Project

General

Profile

« Previous | Next » 

Revision f046b159

Added by Leszek Koltunski almost 4 years ago

First attempt at the MeshBase.apply(VertexEffect) API.

View differences:

src/main/java/org/distorted/library/effect/Effect.java
69 69
    float[] u = name.getUnity();
70 70
    int l = u.length;
71 71

  
72
    for(int i=0; i<l; i++)
73
      {
74
      mUnity[n*MAX_UNITY_DIM+i] = u[i];
75
      }
72
    System.arraycopy(u, 0, mUnity, MAX_UNITY_DIM*n, l);
76 73

  
77 74
    mUnityDim[n] = l;
78 75

  

Also available in: Unified diff