summaryrefslogtreecommitdiff
path: root/include/SSystem/SComponent
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2023-11-18 19:54:18 -0800
committerJasper St. Pierre <jstpierre@mecheye.net>2023-11-18 19:54:18 -0800
commit98da19dfac54a7400512e5be869cd8093b9f0bd6 (patch)
treeda9f6d32f26699df3036a099cab82e344a6a6040 /include/SSystem/SComponent
parenta9c6b0fca242830a45892785cc202a32c4df5a75 (diff)
d_a_sea start
Diffstat (limited to 'include/SSystem/SComponent')
-rw-r--r--include/SSystem/SComponent/c_xyz.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/SSystem/SComponent/c_xyz.h b/include/SSystem/SComponent/c_xyz.h
index 3f66bd6a..e202fb51 100644
--- a/include/SSystem/SComponent/c_xyz.h
+++ b/include/SSystem/SComponent/c_xyz.h
@@ -87,6 +87,7 @@ struct cXyz : Vec {
}
void setall(f32 f) { set(f, f, f); }
+ void zero() { x = y = z = 0.0f; }
void setMin(const cXyz& other) {
if (x > other.x) {