summaryrefslogtreecommitdiff
path: root/doc/api.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api.texi')
-rw-r--r--doc/api.texi10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/api.texi b/doc/api.texi
index 02662b7..77f6ae0 100644
--- a/doc/api.texi
+++ b/doc/api.texi
@@ -487,6 +487,11 @@ Set the X coordinate of the 2D vector @var{v} to @var{x}.
Set the Y coordinate of the 2D vector @var{v} to @var{y}.
@end deffn
+@deffn {Procedure} set-vec2! @var{v} @var{x} @var{y}
+Set the X and Y coordinates of the 2D vector @var{v} to @var{x} and
+@var{y}, respectively.
+@end deffn
+
@deffn {Procedure} vec2-copy! @var{source} @var{target}
Copy the 2D vector @var{source} into the 2D vector @var{target}.
@end deffn
@@ -571,6 +576,11 @@ Set the Y coordinate of the 3D vector @var{v} to @var{y}.
Set the Z coordinate of the 3D vector @var{v} to @var{z}.
@end deffn
+@deffn {Procedure} set-vec3! @var{v} @var{x} @var{y} @var{z}
+Set the X, Y, and Z coordinates of the 3D vector @var{v} to @var{x},
+@var{y}, and @var{z}, respectively.
+@end deffn
+
@deffn {Procedure} vec3-copy! @var{source} @var{target}
Copy the 3D vector @var{source} into the 3D vector @var{target}.
@end deffn