Fixed poly instructions not allowing full 360 degree range
This commit is contained in:
@@ -14,4 +14,4 @@ public enum LCategory{
|
|||||||
LCategory(Color color){
|
LCategory(Color color){
|
||||||
this.color = color;
|
this.color = color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -107,9 +107,8 @@ public class LogicDisplay extends Block{
|
|||||||
static class DisplayCmdStruct{
|
static class DisplayCmdStruct{
|
||||||
public byte type;
|
public byte type;
|
||||||
|
|
||||||
//each coordinate is only 8 bits, limiting size to 256x256
|
//9 bits are required for full 360 degrees
|
||||||
//anything larger than that would be excessive anyway
|
@StructField(9)
|
||||||
@StructField(8)
|
|
||||||
public int x, y, p1, p2, p3, p4;
|
public int x, y, p1, p2, p3, p4;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user