public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Laurent Rineau <laurent.rineau@cgal.org>
To: git-commits@fedoraproject.org
Subject: [rpms/libQGLViewer] epel10: Fix another compilation error
Date: Mon, 30 Nov 2026 13:54:52 GMT [thread overview]
Message-ID: <179604689293.1.3211859396812213901.rpms-libQGLViewer-a37ee738bde7@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/libQGLViewer
Branch : epel10
Commit : a37ee738bde7c2766723ffe95d808e81d7868517
Author : Laurent Rineau <laurent.rineau@cgal.org>
Date : 2016-07-15T14:06:29+02:00
Stats : +14/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/libQGLViewer/c/a37ee738bde7c2766723ffe95d808e81d7868517?branch=epel10
Log:
Fix another compilation error
---
diff --git a/libQGLViewer-2.6.3-qreal.patch b/libQGLViewer-2.6.3-qreal.patch
index 4aeb0f3..cfc4b39 100644
--- a/libQGLViewer-2.6.3-qreal.patch
+++ b/libQGLViewer-2.6.3-qreal.patch
@@ -68,3 +68,17 @@ index 49f27e8..0ed7bed 100644
void setFromRotatedBase(const Vec& X, const Vec& Y, const Vec& Z);
#endif
void setFromRotationMatrix(const qreal m[3][3]);
+diff --git a/QGLViewer/manipulatedCameraFrame.cpp b/QGLViewer/manipulatedCameraFrame.cpp
+index 9d4f6ac..3be97b3 100644
+--- a/QGLViewer/manipulatedCameraFrame.cpp
++++ b/QGLViewer/manipulatedCameraFrame.cpp
+@@ -196,7 +196,8 @@ void ManipulatedCameraFrame::zoom(qreal delta, const Camera * const camera) {
+ if (direction.norm() > 0.02 * sceneRadius || delta > 0.0)
+ translate(delta * direction);
+ } else {
+- const qreal coef = qMax(fabs((camera->frame()->coordinatesOf(camera->pivotPoint())).z), 0.2 * sceneRadius);
++ const qreal coef = qMax(fabs((camera->frame()->coordinatesOf(camera->pivotPoint())).z),
++ qreal(0.2) * sceneRadius);
+ Vec trans(0.0, 0.0, -coef * delta);
+ translate(inverseTransformOf(trans));
+ }
reply other threads:[~2026-11-30 13:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179604689293.1.3211859396812213901.rpms-libQGLViewer-a37ee738bde7@fedoraproject.org \
--to=laurent.rineau@cgal.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox