Style: Replace header guards with #pragma once

This commit is contained in:
Thaddeus Crews
2025-02-01 10:33:58 -06:00
parent 96fdaa616b
commit 324512e11c
1746 changed files with 1767 additions and 6920 deletions

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef VECTOR3_H
#define VECTOR3_H
#pragma once
#include "core/error/error_macros.h"
#include "core/math/math_funcs.h"
@ -549,5 +548,3 @@ Vector3 Vector3::reflect(const Vector3 &p_normal) const {
#endif
return 2.0f * p_normal * dot(p_normal) - *this;
}
#endif // VECTOR3_H