Style: Begin integrating simple .clangd fixes

This commit is contained in:
Thaddeus Crews
2025-02-20 08:40:46 -06:00
parent 2303ce843a
commit f09ee0171a
66 changed files with 43 additions and 112 deletions

View File

@@ -32,16 +32,6 @@
#include "core/object/ref_counted.h"
#if !defined(__aligned)
#if defined(_WIN32) && defined(_MSC_VER)
#define __aligned(...) __declspec(align(__VA_ARGS__))
#else
#define __aligned(...) __attribute__((aligned(__VA_ARGS__)))
#endif
#endif
class StaticRaycaster : public RefCounted {
GDCLASS(StaticRaycaster, RefCounted)
protected:
@@ -49,7 +39,7 @@ protected:
public:
// Compatible with embree4 rays.
struct __aligned(16) Ray {
struct alignas(16) Ray {
const static unsigned int INVALID_GEOMETRY_ID = ((unsigned int)-1); // from rtcore_common.h
/*! Default construction does nothing. */