blob: cc5e1c6d6dcb96d512bbd4e0972f81cfbd151725 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/*
* Copyright (c) 2020, Shannon Booth <shannon.ml.booth@gmail.com>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <AK/String.h>
#include <LibGfx/Triangle.h>
namespace Gfx {
String Triangle::to_string() const
{
return String::formatted("({},{},{})", m_a, m_b, m_c);
}
}
|