Revision 044b5494
Added by Leszek Koltunski about 4 years ago
src/main/java/org/distorted/library/mesh/MeshCubes.java | ||
---|---|---|
827 | 827 |
*/ |
828 | 828 |
public MeshCubes(int cols, String desc, int slices) |
829 | 829 |
{ |
830 |
super(1,1,1); |
|
830 | 831 |
Static4D map = new Static4D(0.0f,0.0f,1.0f,1.0f); |
831 | 832 |
fillTexMappings(map,map,map,map,map,map); |
832 | 833 |
prepareDataStructures(cols,desc,slices); |
... | ... | |
872 | 873 |
*/ |
873 | 874 |
public MeshCubes(int cols, String desc, int slices, Static4D front, Static4D back, Static4D left, Static4D right, Static4D top, Static4D bottom) |
874 | 875 |
{ |
876 |
super(1,1,1); |
|
875 | 877 |
fillTexMappings(front,back,left,right,top,bottom); |
876 | 878 |
prepareDataStructures(cols,desc,slices); |
877 | 879 |
build(); |
... | ... | |
887 | 889 |
*/ |
888 | 890 |
public MeshCubes(int cols, int rows, int slices) |
889 | 891 |
{ |
892 |
super(1,1,1); |
|
890 | 893 |
Static4D map = new Static4D(0.0f,0.0f,1.0f,1.0f); |
891 | 894 |
fillTexMappings(map,map,map,map,map,map); |
892 | 895 |
prepareDataStructures(cols,rows,slices); |
... | ... | |
916 | 919 |
*/ |
917 | 920 |
public MeshCubes(int cols, int rows, int slices, Static4D front, Static4D back, Static4D left, Static4D right, Static4D top, Static4D bottom) |
918 | 921 |
{ |
922 |
super(1,1,1); |
|
919 | 923 |
fillTexMappings(front,back,left,right,top,bottom); |
920 | 924 |
prepareDataStructures(cols,rows,slices); |
921 | 925 |
build(); |
Also available in: Unified diff
Move the Effects.setStretch to Meshbase.setStretch