2015-10-18 15:26:19 +00:00
|
|
|
#include "VegetationInstance.h"
|
|
|
|
|
|
|
|
VegetationInstance::VegetationInstance(const VegetationModelDefinition &model, const Vector3 &base, double size, double angle):
|
|
|
|
model(model), base(base), size(size), angle(angle)
|
|
|
|
{
|
|
|
|
}
|
2015-10-18 20:15:19 +00:00
|
|
|
|
|
|
|
VegetationInstance VegetationInstance::displace(const Vector3 &location, const Vector3 &normal) const
|
|
|
|
{
|
|
|
|
return VegetationInstance(model, location, size, angle);
|
|
|
|
}
|