File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -60,11 +60,11 @@ jobs:
6060 with :
6161 arch : x64
6262
63- - name : Install libstdc ++ on ubuntu
63+ - name : Install libc ++ on ubuntu
6464 shell : bash
6565 if : ${{ matrix.os == 'ubuntu-latest' }}
6666 run : |
67- sudo apt install libstdc ++-12-dev
67+ sudo apt install libc ++-1
6868
6969 - name : Set up ninja
7070 uses : ./.github/actions/setup-ninja
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ The systems manage all the logic and changes the components.
5656
5757<h2 align =" center " >Building</h2 >
5858
59- All builds can be packaged by compiling the ` package ` target (Using cmake CPack)
59+ All builds can be packaged by compiling the ` package ` target (Using cmake CPack). If you are using ` clang ` , you need libc++
6060
6161Dependencies:
6262
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ inline constexpr float toRadians(const float degrees) { return degrees * (PI / 1
3232
3333inline constexpr float toDegrees (const float radians) { return radians * (180 .f / PI); }
3434
35- inline constexpr bool nearZero (const float number, const float epsilon = 0 .001f ) {
35+ inline bool nearZero (const float number, const float epsilon = 0 .001f ) {
3636 if (SDL_fabs (number) <= epsilon) {
3737 return true ;
3838 } else {
You can’t perform that action at this time.
0 commit comments