Archived

This topic is now archived and is closed to further replies.

A l e x

Class problem

Recommended Posts

Hi, I wrote two classes (a base and a derived class) for mesh loading, translation, rotation etc, they are located in the file objects.h. Now I create a mesh and include other d3d headers:
#include "lib/objects.h"

mesh tigermesh;
tigermesh.loadmesh("tiger.x");

#include "lib/d3dlib.h"
 
But I get some errors that tigermesh is not declared and that there's a missing ';' before '.'. What am I doing wrong? [edited by - A l e x on November 2, 2002 11:08:59 AM]

Share this post


Link to post
Share on other sites