private void renderPositions(EntityPlayer clientPlayer, BlockPosEU posStart, BlockPosEU posEnd, int color, float partialTicks)
{
GlStateManager.glLineWidth(2.0f);
for (int a = 0; a < 3; a++)
{
List<BlockPosEU> column = this.positions.get(a);
if (column != null)
{
final int size = column.size();
for (int i = 0; i < size; i++)
{
BlockPosEU pos = column.get(i);
//if (pos.equals(posStart) == false && (posEnd == null || posEnd.equals(pos) == false))
{
AxisAlignedBB aabb = BuildersWandRenderer.createAABB(pos.getX(), pos.getY(), pos.getZ(), 0, partialTicks, clientPlayer);
RenderGlobal.drawSelectionBoundingBox(aabb, ((color >>> 16) & 0xFF) / 255f, ((color >>> 8) & 0xFF) / 255f, (color & 0xFF) / 255f, 1.0f);
}
}
}
}
}
RulerRenderer.java 文件源码
java
阅读 19
收藏 0
点赞 0
评论 0
项目:enderutilities
作者:
评论列表
文章目录