fix for VC6 that can't initialize statics in the class definiton

This commit is contained in:
Chris Danford
2005-09-01 04:26:23 +00:00
parent bd31499636
commit b1f742f69b
+3 -2
View File
@@ -16,6 +16,9 @@
REGISTER_ACTOR_CLASS( GraphDisplay )
enum { VALUE_RESOLUTION=100 };
static const int iSubdivisions = 4;
static const int iCircleVertices = iSubdivisions+2;
class GraphLine: public Actor
{
public:
@@ -35,8 +38,6 @@ public:
delete[] m_pCircles;
}
static const int iSubdivisions = 4;
static const int iCircleVertices = iSubdivisions+2;
void DrawPrimitives()
{
Actor::SetGlobalRenderStates(); // set Actor-specified render states