return false;
}
+ ssgBranch *local_terrain = new ssgBranch;
+ local_terrain->setName( "LocalTerrain" );
+ geometry->addKid( local_terrain );
+
geometry->setName( (char *)path.c_str() );
// reference point (center offset/bounding sphere)
nodes, normals, texcoords,
pts_v[i], pts_n[i], tex_index,
false, ground_lights );
- geometry->addKid( leaf );
+ local_terrain->addKid( leaf );
}
}
center, mat );
}
}
- geometry->addKid( leaf );
+ local_terrain->addKid( leaf );
}
// generate strips
center, mat );
}
}
- geometry->addKid( leaf );
+ local_terrain->addKid( leaf );
}
// generate fans
}
}
- geometry->addKid( leaf );
+ local_terrain->addKid( leaf );
}
return true;