Revision 26df012c
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/library/DistortedTree.java | ||
---|---|---|
36 | 36 |
private static HashMap<ArrayList<Long>,NodeData> mMapNodeID = new HashMap<>(); |
37 | 37 |
private static long mNextNodeID =0; |
38 | 38 |
|
39 |
private GridObject mGrid;
|
|
39 |
private MeshObject mGrid;
|
|
40 | 40 |
private DistortedEffects mEffects; |
41 | 41 |
private DistortedTexture mTexture; |
42 | 42 |
private NodeData mData; |
... | ... | |
251 | 251 |
* |
252 | 252 |
* @param texture DistortedTexture to put into the new Node. |
253 | 253 |
* @param effects DistortedEffects to put into the new Node. |
254 |
* @param grid GridObject to put into the new Node.
|
|
254 |
* @param grid MeshObject to put into the new Node.
|
|
255 | 255 |
*/ |
256 |
public DistortedTree(DistortedTexture texture, DistortedEffects effects, GridObject grid)
|
|
256 |
public DistortedTree(DistortedTexture texture, DistortedEffects effects, MeshObject grid)
|
|
257 | 257 |
{ |
258 | 258 |
mTexture= texture; |
259 | 259 |
mEffects= effects; |
... | ... | |
355 | 355 |
* |
356 | 356 |
* @param texture DistortedTexture to initialize our child Node with. |
357 | 357 |
* @param effects DistortedEffects to initialize our child Node with. |
358 |
* @param grid GridObject to initialize our child Node with.
|
|
358 |
* @param grid MeshObject to initialize our child Node with.
|
|
359 | 359 |
* @return the newly constructed child Node, or null if we couldn't allocate resources. |
360 | 360 |
*/ |
361 |
public synchronized DistortedTree attach(DistortedTexture texture, DistortedEffects effects, GridObject grid)
|
|
361 |
public synchronized DistortedTree attach(DistortedTexture texture, DistortedEffects effects, MeshObject grid)
|
|
362 | 362 |
{ |
363 | 363 |
ArrayList<Long> prev = generateIDList(); |
364 | 364 |
|
Also available in: Unified diff
Rename Grid to Mesh