paysages3d/src/render/software/VegetationResult.cpp

10 lines
289 B
C++
Raw Normal View History

2015-10-18 15:26:19 +00:00
#include "VegetationResult.h"
VegetationResult::VegetationResult(bool hit) : hit(hit) {
2015-10-18 15:26:19 +00:00
}
VegetationResult::VegetationResult(const Vector3 &location, const Vector3 &normal, const SurfaceMaterial &material)
: location(location), normal(normal), material(material) {
2015-10-18 15:26:19 +00:00
hit = true;
}