rotMat.makeRotationX(-Math.PI / 2);
rotMat.setTranslation(REF_TRANS);
segments[ForgeDirection.UP.ordinal()] = xformCoords(refCoords, rotMat, offsetScaled(ForgeDirection.UP, halfLength));
rotMat.makeRotationX(Math.PI / 2);
rotMat.setTranslation(REF_TRANS);
segments[ForgeDirection.DOWN.ordinal()] = xformCoords(refCoords, rotMat, offsetScaled(ForgeDirection.DOWN, halfLength));
}
private static Vertex[] xformCoords(Vertex[] refCoords, Matrix4d rotMat, Vector3d trans) {