minor change: calc_tight_bounds should be a const method

This commit is contained in:
David Rose 2006-08-18 21:11:16 +00:00
parent e8329c6988
commit 42fc71791e
2 changed files with 2 additions and 2 deletions

View File

@ -5512,7 +5512,7 @@ write_bounds(ostream &out) const {
////////////////////////////////////////////////////////////////////
bool NodePath::
calc_tight_bounds(LPoint3f &min_point, LPoint3f &max_point,
Thread *current_thread) {
Thread *current_thread) const {
min_point.set(0.0f, 0.0f, 0.0f);
max_point.set(0.0f, 0.0f, 0.0f);
nassertr_always(!is_empty(), false);

View File

@ -785,7 +785,7 @@ PUBLISHED:
void force_recompute_bounds();
void write_bounds(ostream &out) const;
bool calc_tight_bounds(LPoint3f &min_point, LPoint3f &max_point,
Thread *current_thread = Thread::get_current_thread());
Thread *current_thread = Thread::get_current_thread()) const;
void analyze() const;