mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Forgot a couple of files
This commit is contained in:
parent
801ddc8bb8
commit
84002901e9
@ -29,9 +29,9 @@ TypeHandle LensNode::_type_handle;
|
||||
// Description:
|
||||
////////////////////////////////////////////////////////////////////
|
||||
LensNode::
|
||||
LensNode(const string &name) :
|
||||
LensNode(const string &name, Lens *lens) :
|
||||
PandaNode(name),
|
||||
_lens(new PerspectiveLens())
|
||||
_lens(lens)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -19,6 +19,7 @@
|
||||
|
||||
#include "pandaNode.h"
|
||||
#include "lens.h"
|
||||
#include "perspectiveLens.h"
|
||||
#include "pointerTo.h"
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
@ -30,7 +31,7 @@
|
||||
////////////////////////////////////////////////////////////////////
|
||||
class EXPCL_PANDA_PGRAPH LensNode : public PandaNode {
|
||||
PUBLISHED:
|
||||
LensNode(const string &name);
|
||||
LensNode(const string &name, Lens *lens = new PerspectiveLens());
|
||||
|
||||
protected:
|
||||
LensNode(const LensNode ©);
|
||||
|
Loading…
x
Reference in New Issue
Block a user