summaryrefslogtreecommitdiff
path: root/graphics/asymptote/runtriple.in
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/runtriple.in')
-rw-r--r--graphics/asymptote/runtriple.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/graphics/asymptote/runtriple.in b/graphics/asymptote/runtriple.in
index f196b8f4a5..b15cecab01 100644
--- a/graphics/asymptote/runtriple.in
+++ b/graphics/asymptote/runtriple.in
@@ -67,6 +67,11 @@ real abs(triple v)
return v.length();
}
+real abs2(triple v)
+{
+ return abs2(v);
+}
+
real polar(triple v, bool warn=true)
{
return v.polar(warn);