You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"description": "Sets the angle this vector makes with the positive X axis (only 2D vectors)\n This is equivalent to changing the vector's direction to the given value.",
6
+
"syntax": ["myPVector.setHeading(angle)"],
7
+
"returns": "PVector",
8
+
"type": "method",
9
+
"category": "pvector",
10
+
"subcategory": "method",
11
+
"classanchor": "PVector",
12
+
"parameters": [
13
+
{
14
+
"name": "myPVector",
15
+
"description": "your PVector object",
16
+
"type": ["PVector"]
17
+
},
18
+
{
19
+
"name": "angle",
20
+
"description": "the direction of the resultant vector",
0 commit comments