box2d 3.0.0
A 2D physics engine for games
 
Loading...
Searching...
No Matches
hull.h
1// SPDX-FileCopyrightText: 2023 Erin Catto
2// SPDX-License-Identifier: MIT
3
4#pragma once
5
6#include "api.h"
7#include "constants.h"
8#include "types.h"
9
11typedef struct b2Hull
12{
14 int32_t count;
15} b2Hull;
16
24BOX2D_API b2Hull b2ComputeHull(const b2Vec2* points, int32_t count);
25
30BOX2D_API bool b2ValidateHull(const b2Hull* hull);
#define b2_maxPolygonVertices
Definition constants.h:47
A convex hull. Used to create convex polygons.
Definition hull.h:12
types used by the Box2D API
Definition types.h:47