playrho::FixtureProxy Struct Reference

Fixture proxy. More...

#include <FixtureProxy.hpp>

Public Types

using size_type = std::remove_const< decltype(MaxContacts)>::type
 Size type. More...
 

Public Attributes

size_type treeId
 Tree ID. More...
 

Related Functions

(Note that these are not member functions.)

PLAYRHO_CONSTEXPR bool operator== (const FixtureProxy &lhs, const FixtureProxy &rhs) noexcept
 Equality operator. More...
 
PLAYRHO_CONSTEXPR bool operator!= (const FixtureProxy &lhs, const FixtureProxy &rhs) noexcept
 Inequality operator. More...
 

Detailed Description

Fixture proxy.

This proxy is used internally to connect fixtures to the broad-phase.

Note
This data structure is 4-bytes large (on at least one 64-bit platform).

Definition at line 31 of file FixtureProxy.hpp.

Member Typedef Documentation

◆ size_type

using playrho::FixtureProxy::size_type = std::remove_const<decltype(MaxContacts)>::type

Size type.

Definition at line 35 of file FixtureProxy.hpp.

Friends And Related Function Documentation

◆ operator==()

PLAYRHO_CONSTEXPR bool operator== ( const FixtureProxy lhs,
const FixtureProxy rhs 
)
related

Equality operator.

Definition at line 45 of file FixtureProxy.hpp.

◆ operator!=()

PLAYRHO_CONSTEXPR bool operator!= ( const FixtureProxy lhs,
const FixtureProxy rhs 
)
related

Inequality operator.

Definition at line 52 of file FixtureProxy.hpp.

Member Data Documentation

◆ treeId

size_type playrho::FixtureProxy::treeId

Tree ID.

This is the ID of the leaf node in the dynamic tree for this "proxy".

Note
4-bytes.

Definition at line 40 of file FixtureProxy.hpp.


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