Horde3D

Next-Generation Graphics Engine
It is currently 18.04.2024, 20:25

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 06.05.2008, 02:37 
Offline

Joined: 08.11.2006, 03:10
Posts: 384
Location: Australia
Hey, not a bug in Horde, but a bug in the quick tutorial on the web-site.

First cam is declared as global:
NodeHandle model = 0, cam = 0;

But then it is declared again as local:
NodeHandle cam = Horde3D::addCameraNode( RootNode, "Camera", pipeRes );

I haven't actually tried to use the tutorial code, but if someone does try it I have a feeling that they won't get a camera :wink:


Top
 Profile  
Reply with quote  
 Post subject: Re: Website tutorial
PostPosted: 06.05.2008, 07:43 
Offline
Tool Developer

Joined: 13.11.2007, 11:07
Posts: 1150
Location: Germany
Of course you're right!
Thanks a lot for pointing this out! Should be fixed now.


Top
 Profile  
Reply with quote  
 Post subject: Re: Website tutorial
PostPosted: 06.05.2008, 14:31 
Offline

Joined: 26.03.2008, 02:58
Posts: 160
this is why wikis are the best option to document a project, anyone can fix them ;)


Top
 Profile  
Reply with quote  
 Post subject: Re: Website tutorial
PostPosted: 06.05.2008, 16:30 
Offline

Joined: 05.05.2008, 07:48
Posts: 4
Location: Lower-Saxony, Germany
... or mess it up... :roll: >if there is something to mess<.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group