| 54 | } |
| 55 | |
| 56 | FBox GetLocalBounds(const FPCGPoint& Point, const EPCGExPointBoundsSource Source) |
| 57 | { |
| 58 | switch (Source) |
| 59 | { |
| 60 | case EPCGExPointBoundsSource::ScaledBounds: return GetLocalBounds<EPCGExPointBoundsSource::ScaledBounds>(Point); |
| 61 | case EPCGExPointBoundsSource::DensityBounds: return GetLocalBounds<EPCGExPointBoundsSource::Bounds>(Point); |
| 62 | case EPCGExPointBoundsSource::Bounds: return GetLocalBounds<EPCGExPointBoundsSource::DensityBounds>(Point); |
| 63 | case EPCGExPointBoundsSource::Center: return GetLocalBounds<EPCGExPointBoundsSource::Center>(Point); |
| 64 | default: return FBox(FVector::OneVector * -1, FVector::OneVector); |
| 65 | } |
| 66 | } |
| 67 | |
| 68 | FBox GetLocalBounds(const FPCGPoint* Point, const EPCGExPointBoundsSource Source) |
| 69 | { |
no outgoing calls
no test coverage detected