Added convinience constructor.
This commit is contained in:
@@ -25,6 +25,8 @@ class SG_EXPORT PolygonOffset : public StateAttribute
|
||||
|
||||
PolygonOffset();
|
||||
|
||||
PolygonOffset(float factor, float units);
|
||||
|
||||
/** Copy constructor using CopyOp to manage deep vs shallow copy.*/
|
||||
PolygonOffset(const PolygonOffset& po,const CopyOp& copyop=CopyOp::SHALLOW_COPY):
|
||||
StateAttribute(po,copyop),
|
||||
|
||||
Reference in New Issue
Block a user