summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/math.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/api/math.texi b/doc/api/math.texi
index 9582ea7..61aa17f 100644
--- a/doc/api/math.texi
+++ b/doc/api/math.texi
@@ -60,6 +60,11 @@ Create a new 4D vector with coordinates (@var{x}, @var{y}, @var{z},
@var{w}).
@end deffn
+@deffn {Scheme Procedure} polar2 @var{r} @var{theta}
+Create a new 2D vector from the polar coordinate (@var{r},
+@var{theta}) where @var{r} is the radius and @var{theta} is the angle.
+@end deffn
+
@deffn {Scheme Syntax} vector2? @var{v}
Return @code{#t} if @code{v} is a 2D vector.
@end deffn