Alibek Omarov
1510cb458f
public: fix another typo
2025-02-11 21:12:50 +03:00
Alibek Omarov
39659644bf
public: merge calc bone quaternion and position into single function
...
Expect that only adj and output quaternion can be NULL.
2025-02-11 18:57:08 +03:00
Alibek Omarov
35c9323de6
public: make vec3_origin and identity matrix inlined
2024-09-30 00:15:47 +03:00
Alibek Omarov
13a0afef06
public: reorganize mathlib, inline more functions
2024-09-30 00:15:47 +03:00
Alibek Omarov
6d3f188675
public: fix -Wmissing-prototypes
2024-01-28 09:55:18 +03:00
Alibek Omarov
89f9b3df68
public: make simple bbox functions inline
2023-12-02 18:01:57 +03:00
Alibek Omarov
0d89849cab
public: move some simple functions to mathlib header. Remove assembler version specific for MSVC6
2023-06-25 13:32:06 +03:00
Alibek Omarov
d962255ebe
public: mathlib: remove unused RemapVal, ApproachVal
2023-06-25 13:25:51 +03:00
Alibek Omarov
48176233bd
public: move FOV calculating functions out of libpublic, as they are very specific to engine view
2023-04-26 05:22:34 +03:00
Alibek Omarov
550ced9c36
ref: gl: cleanup unused functions in frustum
2023-04-03 05:05:32 +03:00
Alibek Omarov
53987f47e2
engine: client: use alternative ease-in ease-out function in sound fade
2023-03-30 04:40:54 +03:00
Alibek Omarov
19a785a98a
public: mathlib: convert rsqrt to use float_bits_t union
2023-03-14 21:29:35 +03:00
Alibek Omarov
b96bfcfe7a
public: mathlib: convert FloatToHalf and HalfToFloat to use float_bits_t union
2023-03-14 21:29:35 +03:00
Alibek Omarov
f4069de7f2
engine: move SlerpBones, CalcBonePosition/Quaternion from engine to libpublic
2023-02-13 05:23:13 +03:00
Gleb Mazovetskiy
5e0a0765ce
Trim all trailing whitespace
...
The `.editorconfig` file in this repo is configured to trim all trailing
whitespace regardless of whether the line is modified.
Trims all trailing whitespace in the repository to make the codebase easier
to work with in editors that respect `.editorconfig`.
`git blame` becomes less useful on these lines but it already isn't very useful.
Commands:
```
find . -type f -name '*.h' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
find . -type f -name '*.c' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
```
2021-01-04 20:55:10 +03:00
Alibek Omarov
4c6fd79f07
tgmath: remove including tgmath.h in everything that uses xash3d_mathlib, as it's included already
2020-03-30 00:42:10 +03:00
Andrey Akhmichin
e3b547c8a9
public: rename mathlib to xash3d_mathlib.
2020-02-12 14:32:26 +05:00