View Single Post
Old 04-14-2005, 07:06 PM   #8 (permalink)
Valmont
[code][/code] enforcer
 
Valmont's Avatar
 
Join Date: Mar 2003
Location: Netherlands
Posts: 1,544
Valmont is on a distinguished road
Tons of options. It is not clear to me what you exactly want, but here is a starter. You should think hard about the responsibilities of class CTerrainNodes. That will provide the right method.
Code:
public:
   scene::ITerrainSceneNode* get_terrain();
Code:
scene::ITerrainSceneNode* CTerrainNodes::get_terrain()
{
   return terrain;
}
__________________
Valmont is offline   Reply With Quote