Alibek Omarov
89f9b3df68
public: make simple bbox functions inline
11 months ago
Alibek Omarov
0d89849cab
public: move some simple functions to mathlib header. Remove assembler version specific for MSVC6
1 year ago
Alibek Omarov
d962255ebe
public: mathlib: remove unused RemapVal, ApproachVal
1 year ago
Alibek Omarov
48176233bd
public: move FOV calculating functions out of libpublic, as they are very specific to engine view
2 years ago
Alibek Omarov
550ced9c36
ref: gl: cleanup unused functions in frustum
2 years ago
Alibek Omarov
53987f47e2
engine: client: use alternative ease-in ease-out function in sound fade
2 years ago
Alibek Omarov
19a785a98a
public: mathlib: convert rsqrt to use float_bits_t union
2 years ago
Alibek Omarov
b96bfcfe7a
public: mathlib: convert FloatToHalf and HalfToFloat to use float_bits_t union
2 years ago
Alibek Omarov
f4069de7f2
engine: move SlerpBones, CalcBonePosition/Quaternion from engine to libpublic
2 years ago
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:]]\+$//' {} \+
```
4 years ago
Alibek Omarov
4c6fd79f07
tgmath: remove including tgmath.h in everything that uses xash3d_mathlib, as it's included already
5 years ago
Andrey Akhmichin
e3b547c8a9
public: rename mathlib to xash3d_mathlib.
5 years ago
mittorn
c8be38e75d
mathlib: use tgmath in SinCos
5 years ago
mittorn
3a416636f1
engine: mark GAME_EXPORT's
5 years ago
Alibek Omarov
15924aebaa
xash3d-fwgs: check if HAVE_TGMATH_H is set to positive value rather it's just defined
5 years ago
Alibek Omarov
14be566401
public: include tgmath in mathlib.h, so macros will be used inside Vector macros
5 years ago
Alibek Omarov
0577ecbccf
public: initial fix of double promotion
5 years ago
Alibek Omarov
2f8fec6b70
Remove trailing spaces, convert mistakenly put spaces to tabs. The most useful commit ever.
5 years ago
Alibek Omarov
fb6fd61cd9
public: initial moving some common code into static public library, that can be linked to any engine part
6 years ago
mittorn
4247af8fa8
Reduce engine dependencies. crtlib/mathlib/matrixlib now can be built standalone
6 years ago
Alibek Omarov
e7234bada2
ref: now it compiles, not linking yet. ref_api header moved to engine/ to clarify, that it's sort of engine internals
6 years ago
Alibek Omarov
99bd7c81da
ref: render code moved out of engine, doesn't compile, first API prototype
6 years ago
mittorn
5c738b3402
Apply 4253 update
6 years ago
Alibek Omarov
4d4a7d49d5
mathlib.c port
7 years ago
Alibek Omarov
8d6e3b7f79
Pure engine source code(LF line endings, UTF8 encoded)
7 years ago