jerrrrycho
aeb800283c
reformat: functions can be made static
2026-07-04 06:09:04 +02:00
jerrrrycho
6e4d000ddb
reformat: remove redundant 'inline' specifier
2026-07-04 05:58:21 +02:00
jerrrrycho
cf9fb07800
reformat: remove redundant qualifiers
2026-07-04 05:34:23 +02:00
jerrrrycho
20e7a99516
reformat: use auto on certain types
2026-07-04 05:22:52 +02:00
jerrrrycho
f61068ff89
reformat: use auto on certain types
2026-07-04 04:04:17 +02:00
jerrrrycho
d85096f64d
reformat: remove redundant parentheses
2026-06-30 21:19:46 +02:00
jerrrrycho
bf147dd155
refactor: replace null with nullptr
2026-06-29 02:48:25 +02:00
Mateusz Włodarczyk
dd412894bb
Add macOS ARM64 build support
...
Three small source tweaks that let the OpenGL renderer build and run
on Apple Silicon without affecting the Windows/Linux paths:
- stdafx.h: use GLM_FORCE_NEON on ARM64 instead of GLM_FORCE_AVX2.
AVX2 pulls <immintrin.h>, which clang on ARM64 rejects because
the x86 intrinsics are unimplemented.
- utilities/utilities.cpp: provide an Apple libc++ fallback for
Now() using localtime_r + strftime, since
std::chrono::current_zone() is not yet implemented there.
- audio/audio.h: prefer Khronos-style <AL/al.h> headers when they
are on the include path (brew openal-soft) and fall back to the
deprecated Apple OpenAL.framework's <OpenAL/al.h> only otherwise.
2026-05-19 10:45:18 +02:00
docentYT
ca699d117f
Remove not needed includes
2026-05-02 14:40:31 +02:00
docentYT
3628eb0fc3
Replace interpolate with std::lerp and glm::mix
2026-05-02 01:31:38 +02:00
docentYT
d1f16411a1
Replace clamp with std::clamp
2026-05-01 22:14:29 +02:00
docentYT
ec1dfae953
Replace starts_with and ends_with with string class methods
2026-05-01 17:31:11 +02:00
docentYT
ca839652bf
Use the sq function to force constexpr expressions for numeric literals and enhance readability
2026-04-28 13:23:14 +02:00
docentYT
623c4f827e
Remove not needed casts, variables and switch from double precission to float precission for some angle vectors
2026-04-28 00:51:17 +02:00
docentYT
cba106e22e
Use glm::length2 instead of glm::length where possible
2026-04-27 23:27:08 +02:00
docentYT
fae68642bc
use glm instead of Math3D in vehicle
...
WARNING: Model rotation is broken
2026-04-27 13:07:38 +02:00
docentYT
aa24c55d2d
Change Math3D::vector3 to glm::dvec3 in TCamera class
2026-04-26 18:12:47 +02:00
jerrrrycho
9f43dca48b
refactor: create paths namespace instead of global variables
2026-03-15 11:55:30 +01:00
copilot-swe-agent[bot]
7e49aa8740
Rewrite #includes to use explicit subdirectory paths
...
Co-authored-by: Hirek193 <23196899+Hirek193@users.noreply.github.com >
2026-03-14 19:16:48 +00:00
copilot-swe-agent[bot]
0531086bb9
Reorganize source files into logical subdirectories
...
Co-authored-by: Hirek193 <23196899+Hirek193@users.noreply.github.com >
2026-03-14 19:01:57 +00:00