| 984 | } |
| 985 | |
| 986 | void Terrain::HandleMaterialEvent(const std::string &the_event, const vec3 &event_pos, int *tri) { |
| 987 | MaterialRef material_ref = GetMaterialAtPoint(event_pos, tri); |
| 988 | Material &material = (*material_ref); |
| 989 | material.HandleEvent(the_event, event_pos); |
| 990 | } |
| 991 | |
| 992 | void Terrain::SetDetailObjectLayers(const std::vector<DetailObjectLayer> &_detail_object_layers) { |
| 993 | if (detail_object_layers == _detail_object_layers || minimal) { |
nothing calls this directly
no test coverage detected