Menu

#6 LWRRod and MaterialBlock: Store MAterialBlocks in TreeSet and Compareto

open
None
5
2013-07-11
2013-07-11
No

Store the MaterialBlocks on LWRRod as a treeset and use the comparable interface to order the "positions" correctly on the Z axis (so they are ordered when they are pulled off the LWRRod).

The compareTo operator should just return the pos stored on the class.

Fix for Java. I dont think this is possible for C++ side.

Discussion


Log in to post a comment.