Skip to content

Commit

Permalink
Removed node from GitHub action & added OpenGL install
Browse files Browse the repository at this point in the history
Signed-off-by: Bhavye Mathur <[email protected]>
  • Loading branch information
BhavyeMathur committed Mar 28, 2024
1 parent 8204fc3 commit fe7f89c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build-goopylib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ jobs:
with:
submodules: 'recursive'

- uses: actions/setup-node@v4
- uses: openrndr/[email protected]
- run: xvfb-run glxinfo

- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
Expand Down
2 changes: 1 addition & 1 deletion src/objects/Line.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace {
thickness /= 2;
float theta = atan((p2.y - p1.y) / (p2.x - p1.x));

if (isnan(theta)) {
if (std::isnan(theta)) {
return {thickness, thickness};
}

Expand Down

0 comments on commit fe7f89c

Please sign in to comment.