Skip to content

Commit

Permalink
Merge branch 'car3d_dev' of github.com:gagistech/carcockpit into car3…
Browse files Browse the repository at this point in the history
…d_dev
  • Loading branch information
tomcypher89 committed Jul 13, 2024
2 parents cd06953 + e14367d commit a274e6f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ jobs:
##### coverage #####
coverage:
runs-on: ubuntu-latest
container: debian:bullseye
container: debian:bookworm
name: coverage - measure
env:
linux_distro: debian
linux_release: bullseye
linux_release: bookworm
steps:
- name: add cppfw deb repo
uses: myci-actions/add-deb-repo@master
Expand Down Expand Up @@ -67,8 +67,8 @@ jobs:
fail-fast: false
matrix:
include:
- {os: debian, codename: bullseye, image_owner: }
# - {os: debian, codename: bullseye, image_owner: arm32v7/, labels: [arm,docker]}
- {os: debian, codename: bookworm, image_owner: }
# - {os: debian, codename: bookworm, image_owner: arm32v7/, labels: [arm32,docker]}
runs-on: ${{ (matrix.labels == '' && 'ubuntu-latest') || matrix.labels }}
container: ${{ matrix.image_owner }}${{ matrix.os }}:${{ matrix.codename }}
name: sanitizer - ${{ matrix.image_owner }}${{ matrix.os }}:${{ matrix.codename }}
Expand Down Expand Up @@ -107,16 +107,16 @@ jobs:
include:
- {os: debian, codename: bullseye, image_owner: }
# - {os: debian, codename: bullseye, image_owner: i386/, labels: [i386,docker]}
- {os: debian, codename: bullseye, image_owner: arm32v7/, labels: [arm,docker]}
- {os: debian, codename: bullseye, image_owner: arm32v7/, labels: [arm32,docker]}
- {os: debian, codename: bullseye, image_owner: arm64v8/, labels: [arm64,docker]}
- {os: debian, codename: bookworm, image_owner: }
# - {os: debian, codename: bookworm, image_owner: i386/, labels: [i386,docker]}
- {os: debian, codename: bookworm, image_owner: arm32v7/, labels: [arm,docker]}
- {os: debian, codename: bookworm, image_owner: arm32v7/, labels: [arm32,docker]}
- {os: debian, codename: bookworm, image_owner: arm64v8/, labels: [arm64,docker]}
# - {os: ubuntu, codename: focal, image_owner: }
- {os: ubuntu, codename: jammy, image_owner: }
- {os: raspbian, codename: bullseye, image_owner: igagis/, labels: [arm,docker]}
- {os: raspbian, codename: bookworm, image_owner: igagis/, labels: [arm,docker]}
# - {os: raspbian, codename: bullseye, image_owner: igagis/, labels: [arm32,docker]}
- {os: raspbian, codename: bookworm, image_owner: igagis/, labels: [arm32,docker]}
runs-on: ${{ (matrix.labels == '' && 'ubuntu-latest') || matrix.labels }}
container: ${{ matrix.image_owner }}${{ matrix.os }}:${{ matrix.codename }}
name: linux - ${{ matrix.image_owner }}${{ matrix.os }}:${{ matrix.codename }}
Expand Down
4 changes: 2 additions & 2 deletions src/carcockpit/gauge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ void gauge::render(const matrix4& matrix) const

matrix4 mmm;
mmm.set_identity();
mmm.rotate(
mmm.rotate(ruis::quat(
-(this->params.start_angle_rad +
(this->params.end_angle_rad - this->params.start_angle_rad) * this->get_fraction())
);
));
{
auto div = ruis::real(this->arrow_tex->dims().x()) * this->params.arm_fraction;
ASSERT(div >= 0)
Expand Down

0 comments on commit a274e6f

Please sign in to comment.