My Project
Loading...
Searching...
No Matches
triangle.h
Go to the documentation of this file.
1
// Copyright (c) 2025 Milton McDonald
2
// This source code is licensed under the MIT License. See LICENSE file in the
3
// project root for details.
4
5
#ifndef ENGINE_LIB_TRIANGLE_H_
6
#define ENGINE_LIB_TRIANGLE_H_
7
8
#include "
dll-export.h
"
9
10
namespace
graphics_engine::triangle
{
11
26
DLLEXPORT
[[nodiscard]]
auto
IsValidTriangle
(
float
side_a,
float
side_b,
27
float
side_c) -> bool;
28
29
}
// namespace graphics_engine::triangle
30
31
#endif
// ENGINE_LIB_TRIANGLE_H_
dll-export.h
DLLEXPORT
#define DLLEXPORT
Definition
dll-export.h:19
graphics_engine::triangle
Definition
triangle.h:10
graphics_engine::triangle::IsValidTriangle
DLLEXPORT auto IsValidTriangle(float side_a, float side_b, float side_c) -> bool
Checks whether three given side lengths satisfy the triangle inequality theorem.
engine-lib
include
graphics-engine
triangle.h
Generated by
1.9.8