874 Commits

Author SHA1 Message Date
Saikari
9646054877 CMakeLists.txt: support AVX2 detection for https://github.com/xmake-io/xmake-repo/pull/8277 2025-09-30 21:40:25 +03:00
6334002639 forgot linux macos 2025-09-29 11:23:28 +03:00
72e0c0c90b removed useless fields of C compiler 2025-09-29 11:21:43 +03:00
2f2a5a00c4 added another clangformat 2025-09-27 10:55:05 +03:00
c394993418 Add documentation link to README 2025-09-27 10:40:54 +03:00
476048583d added version file update cmake version 2025-09-27 10:38:31 +03:00
76ae67c968 Revise features and clean up README
Updated features section and removed usage examples.
2025-09-27 10:35:14 +03:00
d1d95d2f36 Merge pull request #77 from orange-cpp/feature/formating_improvement
Feature/formating improvement
v3.8.1
2025-09-25 22:03:47 +03:00
6409568334 added plane header 2025-09-25 21:59:59 +03:00
83ba339eb5 fix 2025-09-25 21:57:05 +03:00
c49c93d542 decomposed formatter 2025-09-25 21:55:56 +03:00
92dab52d66 improvement 2025-09-25 21:43:33 +03:00
dac3d8e43f improved encoding for formating 2025-09-25 21:06:46 +03:00
fb0b05d7ef imprvoed code style 2025-09-25 19:33:06 +03:00
993212e7ab Merge pull request #76 from orange-cpp/bugfix/projectile_pred
projectile pred look at fix
2025-09-22 02:43:04 +03:00
380a9f0a16 fix 2025-09-22 02:41:12 +03:00
ba7bce5502 ooops 2025-09-22 02:39:50 +03:00
ce40891e37 added targets specification to ci cd build 2025-09-22 02:38:25 +03:00
c4d10f8872 disable benchmark build for CI/CD 2025-09-22 02:34:52 +03:00
2bb0c82c30 added source engine benchmark 2025-09-22 02:29:36 +03:00
a4dcf8dc3b unreal engine fix 2025-09-22 02:12:20 +03:00
17eaddbc8c fix unity 2025-09-22 02:10:33 +03:00
9005c02499 opengl fix 2025-09-22 02:08:58 +03:00
e7380b5eb6 Merge pull request #75 from orange-cpp/bugfix/fix_look_at
Bugfix/fix look at
v3.8.0
2025-09-20 17:12:16 +03:00
f8d6e4b544 unified look at for source iw_engine 2025-09-20 17:09:13 +03:00
893eca296b improved tests 2025-09-20 17:00:49 +03:00
b0bd58ccb2 improved opengl tests stability 2025-09-20 16:36:05 +03:00
44a42d39d0 improved test stability 2025-09-20 16:34:44 +03:00
a8c7e8eb54 fixed test 2025-09-20 16:22:24 +03:00
cef22919a4 added more iterations 2025-09-20 16:08:04 +03:00
f79350e609 style fix 2025-09-20 16:00:30 +03:00
1102cad390 fixed unreal 2025-09-20 15:59:43 +03:00
df4e999c82 fixed unity 2025-09-20 15:54:48 +03:00
3baeb182f0 fixed opengl 2025-09-20 15:48:59 +03:00
5539bbad0d reverted 2025-09-20 15:46:21 +03:00
4d4dfae8f2 fix 2025-09-20 15:44:33 +03:00
03c514104e fixed rotation matrix 2025-09-20 15:44:33 +03:00
792db7a673 added new mat function
more tests
2025-09-20 15:44:33 +03:00
bfd399e631 fixed test 2025-09-20 15:44:33 +03:00
7fef690f5e fixed iw engine
fixed source

revert
2025-09-20 15:44:33 +03:00
3df7d65ac1 Update README.md v3.7.1 2025-09-18 19:39:11 +03:00
e1a1164136 fixed warning 2025-09-18 19:06:56 +03:00
23216279dc fix 2025-09-18 18:42:02 +03:00
9e082f7dfa now its ref 2025-09-18 18:39:28 +03:00
7750819e83 improved naming 2025-09-18 18:38:07 +03:00
2ec0e2f93f Update CREDITS.md to include Billy O'Neal
Added acknowledgment for Billy O'Neal's contributions.
v3.7.0
2025-09-18 06:08:49 +03:00
9170ffb1a9 Merge pull request #74 from BillyONeal/fmodf
Don't name std::fmodf.
2025-09-18 06:04:43 +03:00
e05f9ef5a9 Removes FMA check for matrix multiplication
Removes preprocessor check for FMA instructions in matrix multiplication functions.
This simplifies the code and relies on the compiler's ability to optimize the
code based on available hardware support. The assumption is that modern
compilers will automatically utilize FMA instructions if available, and fall
back to alternative implementations if not.
2025-09-18 06:02:37 +03:00
89bb4aa625 Guards AVX2 usage with a preprocessor definition
Ensures that AVX2 intrinsics are only included when the
OMATH_USE_AVX2 preprocessor definition is set. This prevents
compilation errors when AVX2 support is not available or
explicitly disabled.
2025-09-18 05:22:22 +03:00
Billy Robert O'Neal III
9b0845593d Don't name std::fmodf.
The C standard library function fmodf is not guaranteed to be in namespace std, and in fact is not with a default Ubuntu 24.04 installation, leading to the following compile error:

```console
Change Dir: '/vcpkg/buildtrees/vcpkg-ci-orange-math/x64-linux-dbg'

Run Build Command(s): /vcpkg/downloads/tools/ninja/1.12.1-linux/ninja -v -v -j33
[1/2] /usr/bin/c++ -DOMATH_SUPRESS_SAFETY_CHECKS -DOMATH_VERSION=\"3.5.0\" -isystem /vcpkg/installed/x64-linux/include -fPIC -g -std=gnu++23 -MD -MT CMakeFiles/main.dir/main.cpp.o -MF CMakeFiles/main.dir/main.cpp.o.d -o CMakeFiles/main.dir/main.cpp.o -c /vcpkg/scripts/test_ports/vcpkg-ci-orange-math/project/main.cpp
FAILED: CMakeFiles/main.dir/main.cpp.o
/usr/bin/c++ -DOMATH_SUPRESS_SAFETY_CHECKS -DOMATH_VERSION=\"3.5.0\" -isystem /vcpkg/installed/x64-linux/include -fPIC -g -std=gnu++23 -MD -MT CMakeFiles/main.dir/main.cpp.o -MF CMakeFiles/main.dir/main.cpp.o.d -o CMakeFiles/main.dir/main.cpp.o -c /vcpkg/scripts/test_ports/vcpkg-ci-orange-math/project/main.cpp
In file included from /vcpkg/installed/x64-linux/include/omath/omath.hpp:22,
                 from /vcpkg/scripts/test_ports/vcpkg-ci-orange-math/project/main.cpp:1:
/vcpkg/installed/x64-linux/include/omath/color.hpp: In member function ‘constexpr omath::Hsv omath::Color::to_hsv() const’:
/vcpkg/installed/x64-linux/include/omath/color.hpp:98:45: error: ‘fmodf’ is not a member of ‘std’; did you mean ‘modf’?
   98 |                 hsv_data.hue = 60.f * (std::fmodf(((green - blue) / delta), 6.f));
      |                                             ^~~~~
      |                                             modf
ninja: build stopped: subcommand failed.
```

Only the 'sufficient additional overloads' of `fmod` are guaranteed to be in `std`. Since this is clearly intended to call the (float, float) overload, explicitly cast `((green - blue) / delta)` (which is a `double`) to `float` and call the name in `std` as suggested by the diagnostic.
2025-09-17 19:15:10 -07:00