mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Fixed wrapf() error in the custom drawing in 2d tutorial (#2449)
* Fixed error in the custom drawing in 2d tutorial where method said wrap but should be wrapf
This commit is contained in:
@@ -434,8 +434,8 @@ smaller value, which directly depends on the rendering speed.
|
||||
|
||||
# We only wrap angles when both of them are bigger than 360.
|
||||
if angle_from > 360 and angle_to > 360:
|
||||
angle_from = wrap(angle_from, 0, 360)
|
||||
angle_to = wrap(angle_to, 0, 360)
|
||||
angle_from = wrapf(angle_from, 0, 360)
|
||||
angle_to = wrapf(angle_to, 0, 360)
|
||||
update()
|
||||
|
||||
.. code-tab:: csharp
|
||||
|
||||
Reference in New Issue
Block a user