move getRadius to public for now

This commit is contained in:
ZappoMan 2014-09-12 10:26:24 -07:00
parent e8c1cb7db8
commit 64e2033b30

View file

@ -224,6 +224,11 @@ public:
bool isVisible() const { return _visible; }
bool isInvisible() const { return !_visible; }
// TODO: We need to get rid of these users of getRadius()... but for now, we'll make them friends
// so they can be the only ones accessing this method.
float getRadius() const;
protected:
virtual void initFromEntityItemID(const EntityItemID& entityItemID); // maybe useful to allow subclasses to init
@ -258,12 +263,6 @@ protected:
/// set radius in domain scale units (0.0 - 1.0) this will also reset dimensions to be equal for each axis
void setRadius(float value);
private:
// TODO: We need to get rid of these users of getRadius()... but for now, we'll make them friends
// so they can be the only ones accessing this method.
friend EntityTreeElement;
float getRadius() const;
};