From f6327c0948d666a4b61358c7aefed36eb070198d Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 28 Oct 2021 10:53:40 +0800 Subject: *rename --- Runtime/Math/Vector3.h | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) (limited to 'Runtime/Math/Vector3.h') 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 -- cgit v1.1-26-g67d0