Desour
f5c6d3e945
Reformat the code, using:
...
find -type f | # list all regular files
grep -E '\.(h|cpp|mm)$' | # filter for source files
grep -v '/mt_' | # filter out generated files
grep -v '/vendor/' | # and vendored GL
grep -v '/test/image_loader_test.cpp' | # and this file (has giant literals arrays)
xargs -n 1 -P $(nproc) clang-format -i # reformat everything
Co-authored-by: numzero <numzer0@yandex.ru>
2024-03-21 22:08:26 +01:00
Josiah VanderZee
854e97f57c
Add size_t to u32/s32 static_casts in irrArray
...
This fixes 5 narrowing cast warnings from Visual Studio 17 2022.
2023-12-17 17:02:22 +01:00
Loic Blot
dd14486d3f
cleanup: replace remaining #ifndef #define with #pragma once
2023-10-22 12:19:14 +02:00
Vitaliy
9954667c45
Cleanup line endings ( #245 )
...
The exact commands to make this commit were:
git reset --hard origin/master
find -type f | # list all regular files
grep -E '\.(h|cpp|fsh|vsh|mm)|LICENSE$' | # filter for text files
xargs -n 1 -P $(nproc) sed -i 's:\s*$::' # for each file, trim trailing whitespace including the CR
git commit -a
2023-10-03 20:37:00 +02:00
sfan5
51f0acb7c1
Replace std::min in irrArray.h
...
should fix #122
2022-07-20 22:09:07 +02:00
sfan5
abebac8bd4
Return nullptr pointer for empty core::array
...
fixes minetest/minetest#12532
2022-07-17 12:44:58 +02:00
paradust7
3e81f38098
Make irrArray backed by std::vector ( #101 )
2022-05-21 23:56:36 +02:00
cutealien
8c0ee7d9ab
Avoid some warnings from static code analysis.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6296 dfc29bdd-3216-0410-991c-e03cc46cb475
2022-02-09 19:06:19 +01:00
cutealien
9690c1b3e3
Merging r6196 through r6248 from trunk to ogl-es branch
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@6249 dfc29bdd-3216-0410-991c-e03cc46cb475
2021-08-27 10:59:31 +02:00
cutealien
2ae2a551a6
Merging r5975 through r6036 from trunk to ogl-es branch.
...
GLES drivers adapted, but only did make compile-tests.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@6038 dfc29bdd-3216-0410-991c-e03cc46cb475
2020-01-03 19:05:16 +00:00