mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Style: Begin integrating simple .clangd fixes
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user