mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 19:29:09 +00:00
@ -71,6 +71,16 @@ plFogEnvironment::~plFogEnvironment()
|
||||
{
|
||||
}
|
||||
|
||||
plFogEnvironment &plFogEnvironment::operator=(const plFogEnvironment ©)
|
||||
{
|
||||
fType = copy.fType;
|
||||
fStart = copy.fStart;
|
||||
fEnd = copy.fEnd;
|
||||
fDensity = copy.fDensity;
|
||||
fColor = copy.fColor;
|
||||
return *this;
|
||||
}
|
||||
|
||||
//// Set /////////////////////////////////////////////////////////////////////
|
||||
|
||||
void plFogEnvironment::Set( float start, float end, float density, const hsColorRGBA *color )
|
||||
|
@ -85,6 +85,9 @@ class plFogEnvironment : public hsKeyedObject
|
||||
plFogEnvironment( FogType type, float end, float density, hsColorRGBA &color );
|
||||
~plFogEnvironment();
|
||||
|
||||
plFogEnvironment(const plFogEnvironment ©) { operator=(copy); }
|
||||
plFogEnvironment &operator=(const plFogEnvironment ©);
|
||||
|
||||
// Sets the parameters for linear fog
|
||||
void Set( float start, float end, float density, const hsColorRGBA *color = nil );
|
||||
|
||||
|
Reference in New Issue
Block a user