aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/point_3d.hpp
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2012-03-21 15:48:38 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2013-01-05 17:17:51 +0100
commit22a777174de684f946e83ed5da564db101bcdf83 (patch)
tree45392184931c07a0c529a92f0749c0dfe9086268 /src/utils/point_3d.hpp
parentddcaca8432c2caf57d1defade0c32e90c649554c (diff)
downloadusdx-22a777174de684f946e83ed5da564db101bcdf83.tar.gz
usdx-22a777174de684f946e83ed5da564db101bcdf83.tar.xz
usdx-22a777174de684f946e83ed5da564db101bcdf83.zip
utils/point: added possibility to change coords
Diffstat (limited to 'src/utils/point_3d.hpp')
-rw-r--r--src/utils/point_3d.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/utils/point_3d.hpp b/src/utils/point_3d.hpp
index 1ce2a313..12540b26 100644
--- a/src/utils/point_3d.hpp
+++ b/src/utils/point_3d.hpp
@@ -53,6 +53,11 @@ namespace usdx
{
return z;
}
+
+ void get_z(const T& value)
+ {
+ z = value;
+ }
};
};