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
11
26DLLEXPORT [[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_
#define DLLEXPORT
Definition dll-export.h:19
Definition triangle.h:10
DLLEXPORT auto IsValidTriangle(float side_a, float side_b, float side_c) -> bool
Checks whether three given side lengths satisfy the triangle inequality theorem.