## Problem with declaring vertex normals

Hello,
I'm programming a small game with BulletPhysics and OpenGL (2.1).
Yesterday I added lighting to the game, so I needed normals for the objects, too.
But I've got a problem with that:
I'm creating a cuboid with the following code:
Code :
```m_vVertices.pObj = new CVector3D[8];
GLfloat corners[] = {-vHalfExtents.x, vHalfExtents.y, vHalfExtents.z,
vHalfExtents.x, vHalfExtents.y, vHalfExtents.z,
vHalfExtents.x, -vHalfExtents.y, vHalfExtents.z,
-vHalfExtents.x, -vHalfExtents.y, vHalfExtents.z,
-vHalfExtents.x, vHalfExtents.y, -vHalfExtents.z,
vHalfExtents.x, vHalfExtents.y, -vHalfExtents.z,
vHalfExtents.x, -vHalfExtents.y, -vHalfExtents.z,
-vHalfExtents.x, -vHalfExtents.y, -vHalfExtents.z};
for (int i = 0; i < 8; ++i)
{
m_vVertices.pObj[i].x = corners[i*3];
m_vVertices.pObj[i].y = corners[i*3+1];
m_vVertices.pObj[i].z = corners[i*3+2];
}

m_VertexIndices.pObj = new GLuint[6*4];
GLubyte indices[] = {0, 1, 2, 3,
4, 5, 1, 0,
3, 2, 6, 7,
5, 4, 7, 6,
1, 5, 6, 2,
4, 0, 3, 7};
for (int i = 0; i < 24; ++i)
{
m_VertexIndices.pObj[i] = indices[i];
}```

Later, I'm rendering with this code:

Code :
```glEnableClientState(GL_VERTEX_ARRAY);

glVertexPointer(3, GL_FLOAT, 0, static_cast<void*>(m_vVertices.pObj));