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:
thebspin
2019-05-18 17:36:23 +02:00
committed by Max Hilbrunner
parent b1b0c1482f
commit 03d693262b

View File

@@ -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