diff options
| author | 2025-12-30 20:29:48 +0000 | |
|---|---|---|
| committer | 2026-04-04 01:37:54 +0100 | |
| commit | 0fdf9b3ed716a8baf048e7e302c4d9e727999df2 (patch) | |
| tree | 675114ca44ca4209dc60b69f3b3e86a76e6aaa66 /src/trace.c | |
| parent | 7d49288bff1fa4e5bacc0eb69ed46c69db622b76 (diff) | |
| download | sst-0fdf9b3ed716a8baf048e7e302c4d9e727999df2.tar.gz sst-0fdf9b3ed716a8baf048e7e302c4d9e727999df2.zip | |
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.
Diffstat (limited to 'src/trace.c')
| -rw-r--r-- | src/trace.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; }; |
