mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-18 12:43:44 -04:00
minor change: calc_tight_bounds should be a const method
This commit is contained in:
parent
e8329c6988
commit
42fc71791e
@ -5512,7 +5512,7 @@ write_bounds(ostream &out) const {
|
|||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
bool NodePath::
|
bool NodePath::
|
||||||
calc_tight_bounds(LPoint3f &min_point, LPoint3f &max_point,
|
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);
|
min_point.set(0.0f, 0.0f, 0.0f);
|
||||||
max_point.set(0.0f, 0.0f, 0.0f);
|
max_point.set(0.0f, 0.0f, 0.0f);
|
||||||
nassertr_always(!is_empty(), false);
|
nassertr_always(!is_empty(), false);
|
||||||
|
@ -785,7 +785,7 @@ PUBLISHED:
|
|||||||
void force_recompute_bounds();
|
void force_recompute_bounds();
|
||||||
void write_bounds(ostream &out) const;
|
void write_bounds(ostream &out) const;
|
||||||
bool calc_tight_bounds(LPoint3f &min_point, LPoint3f &max_point,
|
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;
|
void analyze() const;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user