Triangle class

Signed-off-by: DeK