PlayRho  2.0.0
An interactive physics engine & library.
playrho::d2::ChainShapeConf::VerticesWithNormals Class Reference

#include <playrho/d2/ChainShapeConf.hpp>

Public Member Functions

 VerticesWithNormals () noexcept=default
 Default constructor.
 
 VerticesWithNormals (std::vector< Length2 > vertices)
 Initializing constructor.
 
auto GetNormals () const noexcept -> decltype((m_normals))
 Gets the normals of the vectors this instance was constructed with.
 
auto GetVertices () const noexcept -> decltype((m_vertices))
 Gets vertices this instance was constructed with.
 

Friends

auto operator== (const VerticesWithNormals &lhs, const VerticesWithNormals &rhs) noexcept -> bool
 Equals operator support.
 

Detailed Description

Invariant
The normals provided are always the forward & reverse normals of each segment of the assigned vertices.

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