Added new Node/Drawable::s/getInitialBound and Node/Drawable::s/getComputeBoundCallback
methods and reimplement computeBound so that it passes back a bounding volume rather than modifying the local one.
This commit is contained in:
@@ -59,15 +59,14 @@ class OSG_EXPORT DrawPixels : public Drawable
|
||||
|
||||
virtual void drawImplementation(State& state) const;
|
||||
|
||||
|
||||
virtual BoundingBox computeBound() const;
|
||||
|
||||
protected:
|
||||
|
||||
DrawPixels& operator = (const DrawPixels&) { return *this;}
|
||||
|
||||
virtual ~DrawPixels();
|
||||
|
||||
virtual bool computeBound() const;
|
||||
|
||||
Vec3 _position;
|
||||
ref_ptr<Image> _image;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user