[fix] Fins now render with tabs
This commit is contained in:
parent
7046d02bae
commit
7886712321
@ -941,12 +941,7 @@ public abstract class FinSet extends ExternalComponent implements RingInstanceab
|
|||||||
* but the minor performance hit is not worth the code complexity of dealing with.
|
* but the minor performance hit is not worth the code complexity of dealing with.
|
||||||
*/
|
*/
|
||||||
public Coordinate[] getFinPointsWithTab() {
|
public Coordinate[] getFinPointsWithTab() {
|
||||||
final Coordinate[] finPoints = getFinPoints();
|
return combineCurves(getFinPoints(), getTabPoints());
|
||||||
final Coordinate[] tabPoints = getTabPoints();
|
|
||||||
|
|
||||||
Coordinate[] combinedPoints = Arrays.copyOf(finPoints, finPoints.length + tabPoints.length);
|
|
||||||
System.arraycopy(tabPoints, 0, combinedPoints, finPoints.length, tabPoints.length);
|
|
||||||
return combinedPoints;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user