mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
expose Lens::get_last_change()
This commit is contained in:
parent
71871ba28b
commit
9d83449006
@ -743,13 +743,13 @@ get_lens_mat_inv() const {
|
|||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
// Function: Lens::get_last_change
|
// Function: Lens::get_last_change
|
||||||
// Access: Public
|
// Access: Published
|
||||||
// Description: Returns the UpdateSeq that is incremented whenever
|
// Description: Returns the UpdateSeq that is incremented whenever
|
||||||
// the lens properties are changed. As long as this
|
// the lens properties are changed. As long as this
|
||||||
// number remains the same, you may assume the lens
|
// number remains the same, you may assume the lens
|
||||||
// properties are unchanged.
|
// properties are unchanged.
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
INLINE const UpdateSeq &Lens::
|
INLINE UpdateSeq Lens::
|
||||||
get_last_change() const {
|
get_last_change() const {
|
||||||
CDReader cdata(_cycler);
|
CDReader cdata(_cycler);
|
||||||
return cdata->_last_change;
|
return cdata->_last_change;
|
||||||
|
@ -166,8 +166,7 @@ PUBLISHED:
|
|||||||
virtual void output(ostream &out) const;
|
virtual void output(ostream &out) const;
|
||||||
virtual void write(ostream &out, int indent_level = 0) const;
|
virtual void write(ostream &out, int indent_level = 0) const;
|
||||||
|
|
||||||
public:
|
INLINE UpdateSeq get_last_change() const;
|
||||||
INLINE const UpdateSeq &get_last_change() const;
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
class CData;
|
class CData;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user