diff options
author | chai <chaifix@163.com> | 2021-10-28 10:53:40 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-10-28 10:53:40 +0800 |
commit | f6327c0948d666a4b61358c7aefed36eb070198d (patch) | |
tree | d3a57a6f048a205d850d9364c990c8eb7c7e6d41 /Runtime/Math/Vector3.h | |
parent | 8cbcd2dc3f7ea5a1d8656cd3885b553121cb7450 (diff) |
*rename
Diffstat (limited to 'Runtime/Math/Vector3.h')
-rw-r--r-- | Runtime/Math/Vector3.h | 23 |
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 |