summaryrefslogtreecommitdiffstats
path: root/src/glsphere.h
diff options
context:
space:
mode:
authorStefan Suhren <suhren.stefan@fh-swf.de>2015-11-23 20:10:12 +0100
committerStefan Suhren <suhren.stefan@fh-swf.de>2015-11-23 20:10:12 +0100
commit709e2363edcebdcf5d0185db77dc2944df7004dd (patch)
treed0c9863ca29ad5bc981ea867d2ef13594176e43c /src/glsphere.h
parent781b2563ea559243de28ebc357b1a3f0be1e9cb2 (diff)
downloadMultimedia-709e2363edcebdcf5d0185db77dc2944df7004dd.tar.gz
Multimedia-709e2363edcebdcf5d0185db77dc2944df7004dd.zip
Add caching to GLSphere
Diffstat (limited to 'src/glsphere.h')
-rw-r--r--src/glsphere.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glsphere.h b/src/glsphere.h
index 9aae032..f884117 100644
--- a/src/glsphere.h
+++ b/src/glsphere.h
@@ -22,8 +22,11 @@ private:
*/
QVector3D calculatePoint(double sliceRotation, double stackRotation);
+ QVector<QVector3D> calculateRow(int slice);
+
int m_stacks;
int m_slices;
+ QVector<QVector3D> firstRow;
};
#endif // GLSPHERE_H