From 0fdf9b3ed716a8baf048e7e302c4d9e727999df2 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Tue, 30 Dec 2025 20:29:48 +0000 Subject: Size-optimise a little more, and tweak minor stuff This isn't really making a difference right now but maybe it will in future builds with different section padding or LTO optimiser interactions or whatever. --- src/trace.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/trace.c') diff --git a/src/trace.c b/src/trace.c index 1118bdf..d5a191f 100644 --- a/src/trace.c +++ b/src/trace.c @@ -29,10 +29,10 @@ GAMESPECIFIC(L4D) struct ray { // these have type VectorAligned in the engine, which occupies 16 bytes - struct vec3f _Alignas(16) start, delta, startoff, extents; + alignas(16) struct vec3f start, delta, startoff, extents; // align to 16 since "extents" is supposed to occupy 16 bytes. // TODO(compat): this member isn't in every engine branch - const float _Alignas(16) (*worldaxistransform)[3][4]; + alignas(16) const float (*worldaxistransform)[3][4]; bool isray, isswept; }; -- cgit v1.2.3-54-g00ecf