Updated triangle mixin.