Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
bf24374a
Kaydet (Commit)
bf24374a
authored
Agu 15, 2014
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
don't even try to create a shape for non existing values
Change-Id: I0af9285c2fa0371607e9ec750bb07968244c44d8
üst
69fa8cfb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
GL3DBarChart.cxx
chart2/source/view/charttypes/GL3DBarChart.cxx
+3
-0
No files found.
chart2/source/view/charttypes/GL3DBarChart.cxx
Dosyayı görüntüle @
bf24374a
...
@@ -625,6 +625,9 @@ void GL3DBarChart::create3DShapes(const boost::ptr_vector<VDataSeries>& rDataSer
...
@@ -625,6 +625,9 @@ void GL3DBarChart::create3DShapes(const boost::ptr_vector<VDataSeries>& rDataSer
}
}
float
nVal
=
rDataSeries
.
getYValue
(
nIndex
);
float
nVal
=
rDataSeries
.
getYValue
(
nIndex
);
if
(
rtl
::
math
::
isNan
(
nVal
))
continue
;
float
nXPos
=
nIndex
*
(
BAR_SIZE_X
+
BAR_DISTANCE_X
)
+
BAR_DISTANCE_X
;
float
nXPos
=
nIndex
*
(
BAR_SIZE_X
+
BAR_DISTANCE_X
)
+
BAR_DISTANCE_X
;
glm
::
mat4
aScaleMatrix
=
glm
::
scale
(
glm
::
vec3
(
BAR_SIZE_X
,
BAR_SIZE_Y
,
float
(
nVal
/
nMaxVal
)));
glm
::
mat4
aScaleMatrix
=
glm
::
scale
(
glm
::
vec3
(
BAR_SIZE_X
,
BAR_SIZE_Y
,
float
(
nVal
/
nMaxVal
)));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment