Add new atan2 block (PR #2079)

Merge pull request from nadyafebi/add-atan2-support-1835
This commit is contained in:
Andrew n marshall
2018-10-16 11:27:00 -07:00
committed by GitHub
16 changed files with 223 additions and 0 deletions

View File

@@ -200,6 +200,18 @@
</value>
</block>
<block type="math_random_float"></block>
<block type="math_atan2">
<value name="X">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
</value>
<value name="Y">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
</value>
</block>
</category>
<category name="%{BKY_CATTEXT}" colour="%{BKY_TEXTS_HUE}">
<block type="text"></block>

View File

@@ -145,6 +145,18 @@
</value>
</block>
<block type="math_random_float"></block>
<block type="math_atan2">
<value name="X">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
</value>
<value name="Y">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
</value>
</block>
</category>
<category name="Variables" colour="%{BKY_VARIABLES_HUE}">
<block type="graph_get_x"></block>

View File

@@ -117,6 +117,7 @@
</value>
</block>
<block type="math_random_float"></block>
<block type="math_atan2"></block>
</category>
<category name="نص" colour="%{BKY_TEXTS_HUE}">
<block type="text"></block>

View File

@@ -114,6 +114,7 @@
</value>
</block>
<block type="math_random_float"></block>
<block type="math_atan2"></block>
</category>
<category name="Lists" colour="%{BKY_LISTS_HUE}">
<block type="lists_create_empty"></block>