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