summaryrefslogtreecommitdiffhomepage
path: root/compat/hamilton-tools.h
diff options
context:
space:
mode:
Diffstat (limited to 'compat/hamilton-tools.h')
-rw-r--r--compat/hamilton-tools.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/compat/hamilton-tools.h b/compat/hamilton-tools.h
index 6bcd7b5d..73bc882c 100644
--- a/compat/hamilton-tools.h
+++ b/compat/hamilton-tools.h
@@ -21,9 +21,9 @@ struct tQuat
{x = X; y = Y; z = Z; w = W;}
};
-double OTR_COMPAT_EXPORT VectorDistance(const double v1[], const tVector v2);
-tVector OTR_COMPAT_EXPORT Lerp (const tVector s, const double d[], const double alpha);
+double OTR_COMPAT_EXPORT VectorDistance(const double v1[], const tVector& v2);
+tVector OTR_COMPAT_EXPORT Lerp (const tVector& s, const double d[], const double alpha);
tQuat OTR_COMPAT_EXPORT QuatFromYPR (const double YPR[]);
-double OTR_COMPAT_EXPORT AngleBetween (const tQuat S, const tQuat D);
-tQuat OTR_COMPAT_EXPORT Slerp (const tQuat S, const tQuat D, const double alpha);
-void OTR_COMPAT_EXPORT QuatToYPR (const tQuat Q, double YPR[]);
+double OTR_COMPAT_EXPORT AngleBetween (const tQuat& S, const tQuat& D);
+tQuat OTR_COMPAT_EXPORT Slerp (const tQuat& S, const tQuat& D, const double alpha);
+void OTR_COMPAT_EXPORT QuatToYPR (const tQuat& Q, double YPR[]);