(Somebody please make the code font bigger)
code:int m_iNumPolygons; CPolygon *m_cPolygons; int m_iNumVertices; CVector *m_cVertices; CVector *m_cVNormals; D3DMATRIX m_tMatrix; CVector m_cPosition; CVector m_cAngle; CTextureCoord *m_cTextureCoords; CColor *m_cVertexColors; int m_iTextureType; int m_iShadingType;
I store texturecoords both in the polygons,
and in another array, I use the array when
I do environmentmapping.
Greetings Tobias
[This message has been edited by Ake (edited October 04, 1999).]