Project

General

Profile

« Previous | Next » 

Revision e54bfada

Added by Leszek Koltunski almost 4 years ago

Have VERTEX_QUATERNION, VERTEX_ROTATE and VERTEX_SHEAR modify inflate vectors.
Split Vertex attribute array into two (the one modified by preapply effects and the one not)

View differences:

src/main/java/org/distorted/library/mesh/MeshJoined.java
25 25
  {
26 26
///////////////////////////////////////////////////////////////////////////////////////////////////
27 27
/**
28
 * Join a list of (probably already changed by Matrix Effects) Meshes into one.
28
 * Join a list of (probably already changed by Vertex Effects) Meshes into one.
29 29
 * <p>
30 30
 * You need to try and keep the origin (0,0,0) in the center of gravity of the whole thing.
31 31
 */
......
39 39
/**
40 40
 * deep copy.
41 41
 */
42
 public MeshJoined(MeshJoined mesh)
42
  public MeshJoined(MeshJoined mesh)
43 43
   {
44 44
   super(mesh);
45 45
   }
......
48 48
/**
49 49
 * deep copy.
50 50
 */
51
 public MeshJoined deepCopy()
51
  public MeshJoined deepCopy()
52 52
   {
53 53
   return new MeshJoined(this);
54 54
   }
......
57 57
/**
58 58
 * Return how many basic Meshes is this Mesh joined from.
59 59
 */
60
   public int getNumComponents()
60
  public int getNumComponents()
61 61
     {
62 62
     return numComponents();
63 63
     }

Also available in: Unified diff