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
aaa92e1a
Kaydet (Commit)
aaa92e1a
authored
Ock 15, 2014
tarafından
Markus Mohrhard
Kaydeden (comit)
Markus Mohrhard
Ock 29, 2014
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
no need for a member variable
Change-Id: I58b22d123e4ba0dddeef5054492a1f851447857b
üst
11815429
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
8 deletions
+6
-8
OpenGLRender.cxx
chart2/source/view/main/OpenGLRender.cxx
+6
-6
OpenGLRender.hxx
chart2/source/view/main/OpenGLRender.hxx
+0
-2
No files found.
chart2/source/view/main/OpenGLRender.cxx
Dosyayı görüntüle @
aaa92e1a
...
@@ -931,7 +931,6 @@ OpenGLRender::OpenGLRender(uno::Reference< drawing::XShape > xTarget):
...
@@ -931,7 +931,6 @@ OpenGLRender::OpenGLRender(uno::Reference< drawing::XShape > xTarget):
m_ClearColor
(
glm
::
vec4
(
1.0
f
,
1.0
f
,
1.0
f
,
1.0
f
))
m_ClearColor
(
glm
::
vec4
(
1.0
f
,
1.0
f
,
1.0
f
,
1.0
f
))
{
{
//TODO: moggi: use STL
//TODO: moggi: use STL
memset
(
&
m_Bubble2DPointList
,
0
,
sizeof
(
m_Bubble2DPointList
));
memset
(
&
m_Bubble2DCircle
,
0
,
sizeof
(
m_Bubble2DCircle
));
memset
(
&
m_Bubble2DCircle
,
0
,
sizeof
(
m_Bubble2DCircle
));
memset
(
&
m_TextInfo
,
0
,
sizeof
(
TextInfo
));
memset
(
&
m_TextInfo
,
0
,
sizeof
(
TextInfo
));
...
@@ -1266,12 +1265,13 @@ int OpenGLRender::Bubble2DShapePoint(float x, float y, float directionX, float d
...
@@ -1266,12 +1265,13 @@ int OpenGLRender::Bubble2DShapePoint(float x, float y, float directionX, float d
float
actualX
=
(
x
/
OPENGL_SCALE_VALUE
);
float
actualX
=
(
x
/
OPENGL_SCALE_VALUE
);
float
actualY
=
(
y
/
OPENGL_SCALE_VALUE
);
float
actualY
=
(
y
/
OPENGL_SCALE_VALUE
);
m_Bubble2DPointList
.
x
=
actualX
;
Bubble2DPointList
aBubble2DPointList
;
m_Bubble2DPointList
.
y
=
actualY
;
aBubble2DPointList
.
x
=
actualX
;
m_Bubble2DPointList
.
xScale
=
directionX
/
OPENGL_SCALE_VALUE
;
aBubble2DPointList
.
y
=
actualY
;
m_Bubble2DPointList
.
yScale
=
directionY
/
OPENGL_SCALE_VALUE
;
aBubble2DPointList
.
xScale
=
directionX
/
OPENGL_SCALE_VALUE
;
aBubble2DPointList
.
yScale
=
directionY
/
OPENGL_SCALE_VALUE
;
m_Bubble2DShapePointList
.
push_back
(
m_
Bubble2DPointList
);
m_Bubble2DShapePointList
.
push_back
(
a
Bubble2DPointList
);
return
0
;
return
0
;
}
}
...
...
chart2/source/view/main/OpenGLRender.hxx
Dosyayı görüntüle @
aaa92e1a
...
@@ -263,8 +263,6 @@ private:
...
@@ -263,8 +263,6 @@ private:
Bubble2DCircle
m_Bubble2DCircle
;
Bubble2DCircle
m_Bubble2DCircle
;
Bubble2DPointList
m_Bubble2DPointList
;
std
::
list
<
Bubble2DPointList
>
m_Bubble2DShapePointList
;
std
::
list
<
Bubble2DPointList
>
m_Bubble2DShapePointList
;
GLint
m_CommonProID
;
GLint
m_CommonProID
;
GLint
m_2DVertexID
;
GLint
m_2DVertexID
;
...
...
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