Box2D
3.0.0
A Real-Time-Oriented 2-D Physics Engine
|
#include <Island.hpp>
Public Types | |
using | Bodies = std::vector< Body * > |
using | Contacts = std::vector< Contact * > |
using | Joints = std::vector< Joint * > |
Public Member Functions | |
Island (Bodies::size_type bodyCapacity, Contacts::size_type contactCapacity, Joints::size_type jointCapacity) | |
Island (const Island ©) noexcept | |
Island (Island &&other) noexcept | |
~Island ()=default | |
Destructor. More... | |
Island & | operator= (Island &&other) noexcept |
Public Attributes | |
Bodies | m_bodies |
Contacts | m_contacts |
Joints | m_joints |
A container of bodies contacts and joints relavent to handling world dynamics.
using box2d::Island::Bodies = std::vector<Body*> |
using box2d::Island::Contacts = std::vector<Contact*> |
using box2d::Island::Joints = std::vector<Joint*> |
Island::Island | ( | Bodies::size_type | bodyCapacity, |
Contacts::size_type | contactCapacity, | ||
Joints::size_type | jointCapacity | ||
) |
|
inlinenoexcept |
|
inlinenoexcept |
|
default |
Destructor.
Bodies box2d::Island::m_bodies |
Contacts box2d::Island::m_contacts |
Joints box2d::Island::m_joints |