public class ArrowShapeBuilder extends BaseShapeBuilder
MeshPartBuilder.matTmp1, tmpColor0, tmpColor1, tmpColor2, tmpColor3, tmpColor4, tmpV0, tmpV1, tmpV2, tmpV3, tmpV4, tmpV5, tmpV6, tmpV7, vertTmp0, vertTmp1, vertTmp2, vertTmp3, vertTmp4, vertTmp5, vertTmp6, vertTmp7, vertTmp8| Constructor and Description |
|---|
ArrowShapeBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static void |
build(MeshPartBuilder builder,
float x1,
float y1,
float z1,
float x2,
float y2,
float z2,
float capLength,
float stemThickness,
int divisions)
Build an arrow
|
freeAll, obtainM4, obtainV3public static void build(MeshPartBuilder builder, float x1, float y1, float z1, float x2, float y2, float z2, float capLength, float stemThickness, int divisions)
x1 - source xy1 - source yz1 - source zx2 - destination xy2 - destination yz2 - destination zcapLength - is the height of the cap in percentage, must be in (0,1)stemThickness - is the percentage of stem diameter compared to cap diameter, must be in (0,1]divisions - the amount of vertices used to generate the cap and stem ellipsoidal bases