diff options
author | Aki <please@ignore.pl> | 2022-05-17 19:36:15 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-05-17 19:50:04 +0200 |
commit | 21341f788654cfc806778fa34d09885431083d76 (patch) | |
tree | 313cf15a37ed1f34b5807874a2a03ca8f421aeeb /Utils.h | |
parent | e9115c36c3580b209f7b53692deb52905125256e (diff) | |
download | derelict-21341f788654cfc806778fa34d09885431083d76.zip derelict-21341f788654cfc806778fa34d09885431083d76.tar.gz derelict-21341f788654cfc806778fa34d09885431083d76.tar.bz2 |
Created a function for repeated distance calculations
Diffstat (limited to 'Utils.h')
-rw-r--r-- | Utils.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -0,0 +1,8 @@ +#pragma once + + +template <typename V, typename T=decltype(V::x)> T dist2(const V& lhs, const V& rhs); +template <typename V, typename T=decltype(V::x)> T dist3(const V& lhs, const V& rhs); + + +#include "Utils-inl.h" |