blob: 2006225fce8b8b10f965668da64eb1dae952a97e (
plain)
1
2
3
4
5
6
7
8
|
#include "plant.h"
#include "location.h"
Plant::Plant(std::shared_ptr<const Foliage> type, const Location & position) :
type {std::move(type)},
location {this->type->instances.acquire(position.getRotationTransform(), position.rot.y, position.pos)}
{
}
|