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
Copy file name to clipboardExpand all lines: README.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -164,7 +164,7 @@ atan(rad: Node) => Node
164
164
165
165
### `atan2(node)`
166
166
167
-
Returns the angle in the plane (in radians) between the positive x-axis and the ray from (0,0) to the point (x,y), `atan2(y,x)`. Beware that this function is not as precise at `Math.atan2()`.
167
+
Returns the angle in the plane (in radians) between the positive x-axis and the ray from (0,0) to the point (x,y), `atan2(y,x)`.
168
168
169
169
```js
170
170
atan2(y:Node, x Node) =>Node
@@ -179,6 +179,15 @@ We provide this function in case you are using a version of reanimated that does
179
179
acos(y:Node, x Node) =>Node
180
180
```
181
181
182
+
### `asin(node)`
183
+
184
+
Returns a arc-sinus of the value in radians of the given node.
185
+
We provide this function in case you are using a version of reanimated that doesn't ship `cos`.
0 commit comments