summaryrefslogtreecommitdiff
path: root/include/SSystem
diff options
context:
space:
mode:
Diffstat (limited to 'include/SSystem')
-rw-r--r--include/SSystem/SComponent/c_sxyz.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/SSystem/SComponent/c_sxyz.h b/include/SSystem/SComponent/c_sxyz.h
index 61843437ef..ad1bf45b45 100644
--- a/include/SSystem/SComponent/c_sxyz.h
+++ b/include/SSystem/SComponent/c_sxyz.h
@@ -5,6 +5,12 @@
struct SVec {
s16 x, y, z;
+
+ void set(s16 oX, s16 oY, s16 oZ) {
+ x = oX;
+ y = oY;
+ z = oZ;
+ }
};
class csXyz : public SVec {
public: