X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fbuilders%2Fsphere.h;h=47b896431eaf7c6202bdd23123ba0d5b27d5c62d;hp=b20ff5413954ce80048c03bdf2982d22957b18c8;hb=b7ecc29c204faede028556d1942b2d61d5cda9ee;hpb=7aaec9a70b8d7733429bec043f8e33e02956f266 diff --git a/source/builders/sphere.h b/source/builders/sphere.h index b20ff541..47b89643 100644 --- a/source/builders/sphere.h +++ b/source/builders/sphere.h @@ -27,8 +27,8 @@ private: float radius; unsigned subdivision; - static float base_vertices[]; - static unsigned base_triangles[]; + static const float base_vertices[]; + static const unsigned base_triangles[]; static unsigned base_edges[]; static unsigned base_tri_edges[];