LS
Size: a a a
LS
S
LS
S
LS
С

D
AN
С
AN
LS
P
ПО
ST
D
D
AY
vertices = [После команты send появляется ошибка:
ColoredVertex(Vec2Float(x, y), None, Color(r, g, b, 0.5)),
ColoredVertex(Vec2Float(x + 1, y), None, Color(r, g, b, 0.5)),
ColoredVertex(Vec2Float(x + 1, y + 1),
None, Color(r, g, b, 0.5)),
ColoredVertex(Vec2Float(x, y), None, Color(r, g, b, 0.5)),
ColoredVertex(Vec2Float(x, y + 1), None, Color(r, g, b, 0.5)),
ColoredVertex(Vec2Float(x + 1, y + 1),
None, Color(r, g, b, 0.5)),
]
debug_data = DebugData()
debug_data.Primitives.vertices = vertices
debug_data.Primitives.primitive_type = PrimitiveType.TRIANGLES
debug_command = DebugCommand.Add(debug_data)
debug_interface.send(debug_command)
Exception has occurred: AttributeErrorКак вообще рисовать в локал раннере?
'DebugData' object has no attribute 'write_to'
АП
АП
P