Revision b0638b61
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/objectlib/helpers/FactoryBandaged3x3Cubit.java | ||
---|---|---|
1158 | 1158 |
public ObjectFaceShape createIrregularFaceShape(int variant) |
1159 | 1159 |
{ |
1160 | 1160 |
float defHeight = 0.048f; |
1161 |
int angle = 60; |
|
1162 |
float R = 0.25f; |
|
1163 |
float S = 0.5f; |
|
1164 |
int numVertices = 5; |
|
1165 |
int extraI = 1; |
|
1166 |
int extraV = 1; |
|
1167 |
|
|
1161 | 1168 |
float[][] corners = { {0.02f,0.12f} }; |
1162 |
float[][] bands = { { 0.001f,45,0.25f,0.5f,5,1,1},
|
|
1163 |
{defHeight/1,45,0.25f,0.5f,5,1,1},
|
|
1164 |
{defHeight/2,45,0.25f,0.5f,5,1,1},
|
|
1165 |
{defHeight/3,45,0.25f,0.5f,5,1,1} };
|
|
1169 |
float[][] bands = { { 0.001f,angle,R,S,numVertices,extraV,extraI},
|
|
1170 |
{defHeight/1,angle,R,S,numVertices,extraV,extraI},
|
|
1171 |
{defHeight/2,angle,R,S,numVertices,extraV,extraI},
|
|
1172 |
{defHeight/3,angle,R,S,numVertices,extraV,extraI} };
|
|
1166 | 1173 |
|
1167 | 1174 |
int[] bandIndices = generateBandIndices(mVertices[variant], mIndices[variant], mMove[variant]); |
1168 | 1175 |
int[] cornerIndices = generateCornerIndices(mVertices[variant], mIndices[variant]); |
Also available in: Unified diff
Progress with BandagedCreator.