CoriEngine
Loading...
Searching...
No Matches
Cori::Physics::ConvexHull Class Reference

#include <Physics.hpp>

Public Member Functions

 ConvexHull ()=default
 ConvexHull (const b2Hull &hull)
 operator b2Hull & ()
 operator const b2Hull * () const

Static Public Member Functions

static ConvexHull Create (const std::vector< Vec2 > &vertices)

Detailed Description

Definition at line 188 of file Physics/Physics.hpp.

Constructor & Destructor Documentation

◆ ConvexHull() [1/2]

Cori::Physics::ConvexHull::ConvexHull ( )
default

◆ ConvexHull() [2/2]

Cori::Physics::ConvexHull::ConvexHull ( const b2Hull & hull)
inline

Definition at line 192 of file Physics/Physics.hpp.

Member Function Documentation

◆ Create()

ConvexHull Cori::Physics::ConvexHull::Create ( const std::vector< Vec2 > & vertices)
inlinestaticnodiscard

Definition at line 194 of file Physics/Physics.hpp.

Here is the call graph for this function:

◆ operator b2Hull &()

Cori::Physics::ConvexHull::operator b2Hull & ( )
inline

Definition at line 211 of file Physics/Physics.hpp.

◆ operator const b2Hull *()

Cori::Physics::ConvexHull::operator const b2Hull * ( ) const
inline

Definition at line 215 of file Physics/Physics.hpp.


The documentation for this class was generated from the following file: