protected buildRotatedTriangleShape ( $sideLength, $width ) |
protected function buildRotatedTriangleShape($sideLength, $width)
{
$halfHeight = $sideLength / 2;
return "0, 0, {$width}, {$halfHeight}, 0, {$sideLength}, 0, 0";
}