summaryrefslogtreecommitdiff
path: root/Runtime/Math/Vector3.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-10-28 10:53:40 +0800
committerchai <chaifix@163.com>2021-10-28 10:53:40 +0800
commitf6327c0948d666a4b61358c7aefed36eb070198d (patch)
treed3a57a6f048a205d850d9364c990c8eb7c7e6d41 /Runtime/Math/Vector3.h
parent8cbcd2dc3f7ea5a1d8656cd3885b553121cb7450 (diff)
*rename
Diffstat (limited to 'Runtime/Math/Vector3.h')
-rw-r--r--Runtime/Math/Vector3.h23
1 files changed, 14 insertions, 9 deletions
diff --git a/Runtime/Math/Vector3.h b/Runtime/Math/Vector3.h
index 08e2592..c0a35f3 100644
--- a/Runtime/Math/Vector3.h
+++ b/Runtime/Math/Vector3.h
@@ -1,17 +1,22 @@
#ifndef VECTOR3_H
#define VECTOR3_H
-struct Vector3
+namespace Internal
{
- float x, y, z;
- inline void Set(float x, float y, float z)
- {
- this->x = x;
- this->y = y;
- this->z = z;
- }
+ struct Vector3
+ {
+ float x, y, z;
-};
+ inline void Set(float x, float y, float z)
+ {
+ this->x = x;
+ this->y = y;
+ this->z = z;
+ }
+ };
+
+
+}
#endif \ No newline at end of file