public static void putOutlinedRectangle(BufferBuilder buffer, int x, int y, int w, int h, float... color)
{
putRectangle(buffer, x, y, w, h, color);
float[] colorOutline = new float[4];
System.arraycopy(color, 4, colorOutline, 0, 4);
putRectangle(buffer, x - 1, y - 1, 1, h + 2, colorOutline);
putRectangle(buffer, x + w, y - 1, 1, h + 2, colorOutline);
putRectangle(buffer, x, y - 1, w, 1, colorOutline);
putRectangle(buffer, x, y + h, w, 1, colorOutline);
}
PlayerInventoryRenderer.java 文件源码
java
阅读 22
收藏 0
点赞 0
评论 0
项目:ExPetrum
作者:
评论列表
文章目录