MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / PolygonNotEnoughPoints

Class PolygonNotEnoughPoints

include/Core/Transform/Exceptions.hpp:7–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5namespace obe::Transform::Exceptions
6{
7 class PolygonNotEnoughPoints : public Exception
8 {
9 public:
10 PolygonNotEnoughPoints(void* polygon, std::size_t points, DebugInfo info)
11 : Exception("ChildNotInSceneNode", info)
12 {
13 this->error("Polygon at address @{} has only {} points (minimum: 3)",
14 fmt::ptr(polygon), points);
15 }
16 };
17
18 class PolygonPointIndexOverflow : public Exception
19 {

Callers 1

Polygon.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected