Click here to Skip to main content
15,886,689 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C#
#pragma once

class C3dsObject
{
public:
    C3dsObject(void);
    ~C3dsObject(void);

    int numOfVerts;                    // The number of verts in the model
    int numOfFaces;                    // The number of faces in the model
    int numTexVertex;                  // The number of texture coordinates
    int materialID;                    // The texture ID to use, which is the input texture array
    bool bHasTexture;                  // This is TRUE if there is a texture mapping object
    char strName[255];                 // The name of the object
    CV3 *pVerts;                       // The object's Vertices
    CV3 *pNormals;                     // The object's normals
    CV2  *pTexVerts;                    // The texture's UV coordinates
    tFace *pFaces;                     // The faces information of the object
};
Posted
Comments
Richard MacCutchan 19-Dec-12 5:20am    
Where are the definitions of CV3, CV2 and tFace?
Santhosh G_ 30-Dec-12 12:46pm    
Please add include files of CV3,CV2, and tFace.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900