mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Replace XML codeblock spaces with tabs
This commit is contained in:
@@ -18,8 +18,8 @@
|
||||
Example code to draw a line between two [Marker2D] nodes using a series of [method CanvasItem.draw_rect] calls:
|
||||
[codeblock]
|
||||
func _draw():
|
||||
for pixel in Geometry2D.bresenham_line($MarkerA.position, $MarkerB.position):
|
||||
draw_rect(Rect2(pixel, Vector2.ONE), Color.WHITE)
|
||||
for pixel in Geometry2D.bresenham_line($MarkerA.position, $MarkerB.position):
|
||||
draw_rect(Rect2(pixel, Vector2.ONE), Color.WHITE)
|
||||
[/codeblock]
|
||||
</description>
|
||||
</method>
|
||||
|
||||
Reference in New Issue
Block a user