Box2D  3.0.0
A Real-Time-Oriented 2-D Physics Engine
Public Member Functions | Public Attributes | List of all members
box2d::CircleShape::Conf Struct Reference

#include <CircleShape.hpp>

Inheritance diagram for box2d::CircleShape::Conf:
box2d::Shape::Conf

Public Member Functions

 Conf ()
 
- Public Member Functions inherited from box2d::Shape::Conf
constexpr ConfUseVertexRadius (Length value) noexcept
 
constexpr ConfUseFriction (RealNum value) noexcept
 
constexpr ConfUseRestitution (RealNum value) noexcept
 
constexpr ConfUseDensity (Density value) noexcept
 

Public Attributes

Length2D location = Vec2_zero * Meter
 
- Public Attributes inherited from box2d::Shape::Conf
Length vertexRadius = DefaultLinearSlop
 
RealNum friction = RealNum{2} / RealNum{10}
 Friction coefficient. More...
 
RealNum restitution = RealNum{0}
 Restitution (elasticity) of the associated shape. More...
 
Density density = Density{0}
 Density of the associated shape. More...
 

Constructor & Destructor Documentation

◆ Conf()

box2d::CircleShape::Conf::Conf ( )
inline

Member Data Documentation

◆ location

Length2D box2d::CircleShape::Conf::location = Vec2_zero * Meter

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