Gets bridge min or max height regardless of actual X/Z world position.
| 820 | |
| 821 | // Gets bridge min or max height regardless of actual X/Z world position. |
| 822 | int GetBridgeBorder(const ItemInfo& item, bool isBottom) |
| 823 | { |
| 824 | auto bounds = GameBoundingBox(&item); |
| 825 | return (item.Pose.Position.y + (isBottom ? bounds.Y2 : bounds.Y1)); |
| 826 | } |
| 827 | |
| 828 | bool TestMaterial(MaterialType refMaterial, const std::vector<MaterialType>& materials) |
| 829 | { |
no test coverage detected