ASE: Delete Light default constructor
parent
4fd791796c
commit
039ca38542
|
@ -358,17 +358,8 @@ struct Light : public BaseNode
|
||||||
DIRECTIONAL
|
DIRECTIONAL
|
||||||
};
|
};
|
||||||
|
|
||||||
//! Constructor.
|
//! Default constructor has been deleted
|
||||||
Light()
|
Light() = delete;
|
||||||
: BaseNode (BaseNode::Light)
|
|
||||||
, mLightType (OMNI)
|
|
||||||
, mColor (1.f,1.f,1.f)
|
|
||||||
, mIntensity (1.f) // light is white by default
|
|
||||||
, mAngle (45.f)
|
|
||||||
, mFalloff (0.f)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//! Construction from an existing name
|
//! Construction from an existing name
|
||||||
explicit Light(const std::string &name)
|
explicit Light(const std::string &name)
|
||||||
|
|
Loading…
Reference in New Issue