]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - doc/qcvm.1
sqrt and normalize builtins
[xonotic/gmqcc.git] / doc / qcvm.1
index 332cce969802eabeed281a9336d3202b4b9a8caf..de8633ffedff0e58c1088c1cc4a4c61f0a96cb8b 100644 (file)
@@ -123,6 +123,16 @@ Concatenate two strings, returning a tempstring.
 .in +8
 Compare two strings. Returns the same as the corresponding C functions.
 .in
+
+.RI "12) " vector " normalize (" vector ") = " "#12" ;
+.in +8
+Normalize a vector so its length is 1.
+.in
+
+.RI "13) " float " sqrt (" float ") = " "#13" ;
+.in +8
+Get a value's square root.
+.in
 .SH BUGS
 Please report bugs on <http://github.com/graphitemaster/gmqcc/issues>,
 or see <http://graphitemaster.github.com/gmqcc> on how to contact us.