Implement triangle mixin with default values